-
-
Notifications
You must be signed in to change notification settings - Fork 16
Description
This is a minor UX suggestion, but it's bugging me enough that I felt compelled to write this up. 😄
When the focus is not on the editor, the editor still highlights matching parentheses if the cursor happens to have been placed on the closing parenthesis before the focus was moved out of the editor.
This can be distracting because the highlight is in bright red. It draws the eye even though the user's focus is no longer on the editor. The color and brightness almost suggest there is some kind of problem that needs attention.
You can see this in play on the docs for this component:
Even though your cursor is not in either editor, both editors are really trying to draw your attention to the matching parentheses.
I think this behavior should only be active when the focus is on/within a given editor.