-
I'm using an accordion and within the header template we're putting a few input fields (DatePicker and TimePickers), but on clicking the input it triggers the accordion. Is there a way to stop this? I've tried putting @OnClick:stopPropagation="true" on the inputs and on a div surrounding the inputs to no avail. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Accordion Web Component is capturing the click event. As the header is a child element of the accordion (in the shadow dom), the click cannot be handled in the header. The stopPropagation is taking place too late. Nothing we can change there currently. |
Beta Was this translation helpful? Give feedback.
The Accordion Web Component is capturing the click event. As the header is a child element of the accordion (in the shadow dom), the click cannot be handled in the header. The stopPropagation is taking place too late. Nothing we can change there currently.