Skip to content
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

Should be an option to disable focus management #89

Open
Haraldson opened this issue Oct 4, 2021 · 1 comment · May be fixed by #90
Open

Should be an option to disable focus management #89

Haraldson opened this issue Oct 4, 2021 · 1 comment · May be fixed by #90

Comments

@Haraldson
Copy link

Haraldson commented Oct 4, 2021

I’m working on a Table Of Contents feature for EditorJS, and as part of this I’m scrolling to heading blocks in the editor, which have their own event listeners and focus handling. As part of this handling, attempts to control elements controlled by the editor seem to throw errors.

So, while I appreciate the efforts to improve accessibility etc., the focus management can also be in the way in more advanced contexts, and it’d be nice to have a way to disable it.

Thoughts?

@rafgraph
Copy link
Owner

rafgraph commented Oct 4, 2021

I’d be open to this as a boolean prop. Feel free to make a pr and I’ll take a look. It should be a fairly straightforward addition.

@Haraldson Haraldson linked a pull request Oct 4, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants