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
I had a good chat with @joegaudet on Discord. He is going to work on a PR to make onlyWhenFocused default to true when the modifier is on an element with a tabindex that makes it focusable. This will be a breaking change and will be part of a 7.0 release.
The above plan was scrapped because button elements have a default tabindex of 0, so the contemplated change would break the common button keyboard shortcut use case.
The resolution on this for the time being is for @joegaudet to experiment with subclassing OnKeyModifier in his app to have a modifier that has the defaults his app commonly needs.
Hey,
Love the on-key modifier, however when using it in a list I observe the following:
When I focus the list item and hit enter, I see an alert triggered for each of the items.
Any guidance on this?
The text was updated successfully, but these errors were encountered: