Buttons inside of the summary of sl-details #1723
Unanswered
Jaylyn-Barbee
asked this question in
Help
Replies: 1 comment
-
Duplicate of #1697. See my comment for more info. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have buttons inside the summary of my sl-details component. When tabbing to the buttons and pressing enter, instead of the @click function running from the button, the sl-details opens/closes. This behavior isn't consistent with the regular html details element. I would like to able to click/press enter on the button and that function run rather than the open/close happening.
CodePen reference: https://codepen.io/jaylyn-barbee/pen/eYxGBPx
This is the use case if curious, filter buttons in the details

Beta Was this translation helpful? Give feedback.
All reactions