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

Persistent navdrawer disables input field #13

Open
tbuyle opened this issue Jul 16, 2020 · 0 comments
Open

Persistent navdrawer disables input field #13

tbuyle opened this issue Jul 16, 2020 · 0 comments

Comments

@tbuyle
Copy link

tbuyle commented Jul 16, 2020

I noticed that when a pesistent navdrawer is opened, input fields outside of the navdrawer are "disabled".

Actually they are not disabled but you can't focus on them - thus you can use them.

This seems to be linked to the _enforceFocus in nav-drawer.js (line 151) altough I am not sure sure what its meant to do. I think this is inherited from bootstrap modal code.

As a workaround, one can use $(document).off('focusin.md.navdrawer') to avoid this effect. But I think it shouldn't be necessary to do that when using a persistent navdrawer (or other version without backdrop)

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