GeezerVison is showing github.com — [Bug]: Typing curly braces causes text to get deleted when typing in a certain sequence. · Issue #42 · java/devrel
[Bug]: Typing curly braces causes text to get deleted when typing in a certain sequence. #42DescriptionWhat happened?
Go to the playground, clear the textfield, then type the following sequence of characters in the exact order that they appear.
As soon as I press {, the idc gets deleted, and when finished typing, I am left with enum }.
OS
Windows
What browsers are you seeing the problem on?
Firefox
Contact Details (optional)
No response
Additional information
Leave blank Activitydelabassee commented on 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 commented on Mar 13, 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?
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 commented on 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 commented on Mar 13, 2026 @delabassee
Here is the before and after of me pressing backspace.
BEFORE

AFTER

davidalayachew commented on Mar 13, 2026 And the screenshot doesn't show it, but my cursor is to the right of both braces. davidalayachew commented on 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 commented on Mar 13, 2026 Works fine on Edge for Android. I don't have chrome, so can't check that.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|