You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Typing curly braces causes text to get deleted when typing in a certain sequence. #42
Hi @davidalayachew When you create an (opening) enclosing delimiter (ex. '{' ), the editor will add the corresponding (closing) delimiter and position the cursor at the beginning of the new created scope.
Backspace once should delete both, the opening delimiter that you typed, and the closing one added by the editor.
Are you observing a different behaviour?
I should clarify, this does work on desktop Firefox, but fails on Firefox on my phone. I forgot that I specified OS in my original bug report. @delabassee
Activity
delabassee commentedon Mar 12, 2026
@davidalayachew We just rolled up a lot of fixes in the UI. Can you please try again and confirm that it's now OK?
davidalayachew commentedon Mar 13, 2026
Now it's broken in a different way.
If I type in the same sequence as above, then press backspace, I lose the left curly brace instead of the right one. @delabassee
delabassee commentedon Mar 13, 2026
Hi @davidalayachew When you create an (opening) enclosing delimiter (ex. '{' ), the editor will add the corresponding (closing) delimiter and position the cursor at the beginning of the new created scope.
Backspace once should delete both, the opening delimiter that you typed, and the closing one added by the editor.
Are you observing a different behaviour?
davidalayachew commentedon Mar 13, 2026
@delabassee
Here is the before and after of me pressing backspace.
BEFORE
AFTER
davidalayachew commentedon Mar 13, 2026
And the screenshot doesn't show it, but my cursor is to the right of both braces.
davidalayachew commentedon Mar 13, 2026
I should clarify, this does work on desktop Firefox, but fails on Firefox on my phone. I forgot that I specified OS in my original bug report. @delabassee
davidalayachew commentedon Mar 13, 2026
Works fine on Edge for Android. I don't have chrome, so can't check that.