Closed
Description
When I have an anchor inside an element to remove a class on click. the event on the anchor itself is prevented by default. There has to be a check that the click prevent default is only applied on the element with the switch class on it.
example fix use currentTarget instead of target
example: I have a collapsing menu. I want the menu to be closed when i click next to the menu. I use the pat-switch to remove the open class from the menu.
All the anchors inside that container do not react on click anymore because the
Metadata
Metadata
Assignees
Labels
No labels