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
But it ignores the keyboard selection that can be triggered by the Ctrl + A shortcut or a11y tools.
I suppose it's a shortcoming of the missing "selection completed" state in the store. Otherwise, we could make the SelectionHandler populate it upon meeting some predefined criteria. They can either be pointerup (sighted mouse users) or keyup (shortcuts and a11y tools support) event
Demo
Screen.Recording.2024-06-30.at.19.53.11.mov
The popup renders only upon clicking somewhere on the page, initiating the pointerup event
The text was updated successfully, but these errors were encountered:
Issue
Currently, the
TextAnnotatorPopup
component appears only on thepointerup
event:text-annotator-js/packages/text-annotator-react/src/TextAnnotatorPopup.tsx
Lines 46 to 52 in 36958ad
But it ignores the keyboard selection that can be triggered by the
Ctrl + A
shortcut or a11y tools.I suppose it's a shortcoming of the missing "selection completed" state in the store. Otherwise, we could make the
SelectionHandler
populate it upon meeting some predefined criteria. They can either bepointerup
(sighted mouse users) orkeyup
(shortcuts and a11y tools support) eventDemo
Screen.Recording.2024-06-30.at.19.53.11.mov
The popup renders only upon clicking somewhere on the page, initiating the
pointerup
eventThe text was updated successfully, but these errors were encountered: