Skip to content

Tabster doesn't set FOCUS_VISIBLE_ATTR to element when navigating from content-editable area #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
weishanmicrosoft opened this issue Aug 23, 2024 · 0 comments

Comments

@weishanmicrosoft
Copy link

Hi,

We needs to shift focus from content-editable area to Popover and let Tabster handle the setting of FOCUS_VISIBLE_ATTR. Please see method "registerElementIfNavigating()" from https://github.com/microsoft/fluentui/blob/master/packages/react-components/react-tabster/src/focus/focusVisiblePolyfill.ts

Current Tabster only supports to set FOCUS_VISIBLE_ATTR when pressing TAB or currentActiveElement is not input/textarea/content-editable element. Please see "_shouldTriggerKeyboardNavigation()" from https://github.com/microsoft/keyborg/blob/main/src/Keyborg.ts

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant