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

Double-clicking <sl-details> creates a new state of collapsed panel with chevron of expanded status #662

Closed
shaal opened this issue Feb 1, 2022 · 1 comment
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@shaal
Copy link
Contributor

shaal commented Feb 1, 2022

Describe the bug

A bug is a demonstrable problem caused by code in the library. Please provide a clear and concise description of what the bug is here.
When <sl-details> is expanded, double-clicking on it creates a new state, where the arrow display the expand state, but the panel is actually collapsed.
The next click "close" the panel (you only see the chevron rotates), and the next click after that goes back to normal.

https://shoelace.style/components/details
image

A similar issue happens in https://shoelace.style/components/dropdown components.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://shoelace.style/components/details
  2. Expand one of the <sl-details> components
  3. Double-click that component (using mouse or keyboard)
  4. Confirm that the chevron displays "open" status, but the panel is actually collapsed.
@shaal shaal added the bug Things that aren't working right in the library. label Feb 1, 2022
@claviska
Copy link
Member

Fixed in #672

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