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

Modal has no focus and the backdrop does not prevent keyboard input. #113

Closed
CaselIT opened this issue Jun 14, 2016 · 1 comment
Closed

Comments

@CaselIT
Copy link
Contributor

CaselIT commented Jun 14, 2016

  • I'm submitting a bug report
  • What is the current behavior?
    The modal has no focus and the backdrop does not prevent keyboard input.
    Current behavior http://plnkr.co/edit/ibFlIS?p=preview
    • open modal
    • pressing enter open a new modal
    • pressing tab moves the focus to the input that can be modified.
  • What is the expected behavior?
    The modal has focus and the keyboard input can only move inside the open modal. Similar to the
    Bootstrap version
  • Angular version: 2.0.0-rc1
  • Browser: [all ]
@CaselIT
Copy link
Contributor Author

CaselIT commented Jun 14, 2016

I think that with tab you can still access the controls under the backdrop. If I'm not mistaken bootstrap solve this with this function
Still it's an improvement. Thanks for the quick update.
Just a nitpick, I think this issue applies also to the vex plugin.

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