Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops responding when deleting a line with selected characters #8

Open
AMiller42 opened this issue Jan 24, 2024 · 0 comments
Open

Stops responding when deleting a line with selected characters #8

AMiller42 opened this issue Jan 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AMiller42
Copy link
Member

If you have multiple lines of code entered, and you select a character, deleting that line will cause everything to stop updating.

To reproduce, enter the following code:

abc
def

Select any character of def, then delete that line.

The browser console returns the following error (Chrome):

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '2')
    at index-38e4754e.js:21:2484
    at Array.map (<anonymous>)
    at z (index-38e4754e.js:21:2467)
    at Array.flatMap (<anonymous>)
    at Object.p (index-38e4754e.js:19:2540)
    at index-38e4754e.js:4:3975
    at uo (index-38e4754e.js:1:762)
    at Array.forEach (<anonymous>)
    at be (index-38e4754e.js:1:824)
    at Ko (index-38e4754e.js:4:4393)
(anonymous) @ index-38e4754e.js:21
z @ index-38e4754e.js:21
p @ index-38e4754e.js:19
(anonymous) @ index-38e4754e.js:4
uo @ index-38e4754e.js:1
be @ index-38e4754e.js:1
Ko @ index-38e4754e.js:4
p @ index-38e4754e.js:21
qo @ index-38e4754e.js:4
Re @ index-38e4754e.js:4
Promise.then (async)
Go @ index-38e4754e.js:4
Jo @ index-38e4754e.js:4
(anonymous) @ index-38e4754e.js:4
E @ index-38e4754e.js:21
nt @ index-38e4754e.js:19
(anonymous) @ index-38e4754e.js:4
d @ index-38e4754e.js:16
@AMiller42 AMiller42 added the bug Something isn't working label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant