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

Elements inside closed sl-details remain focusable #323

Closed
danny-andrews opened this issue Feb 5, 2021 · 1 comment
Closed

Elements inside closed sl-details remain focusable #323

danny-andrews opened this issue Feb 5, 2021 · 1 comment
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@danny-andrews
Copy link
Contributor

danny-andrews commented Feb 5, 2021

Describe the bug
Elements inside a closed sl-details component remain focusable.

To Reproduce

  1. Go to https://codepen.io/danny-andrews/pen/VwmeRdR.
  2. Click inside page.
  3. Tab past details summary.
  4. See focus disappear (it's focusing the sl-button hidden inside sl-details).

Expected behavior
Elements should not receive focus inside a closed sl-details (matches native details behavior).

@danny-andrews danny-andrews added the bug Things that aren't working right in the library. label Feb 5, 2021
@danny-andrews
Copy link
Contributor Author

Rad. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

2 participants