You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nested in an accordion like component produces the following behaviour:
The onClick only appears to be passed to the background element of the component, clicking the circle element of the switch causes the click event to still be propagated to the switch's parent element even though stopPropagation() should be getting called for the entire switch component.
The text was updated successfully, but these errors were encountered:
A switch component with
onClick={(e) => e.stopPropagation()}
attribute:Nested in an accordion like component produces the following behaviour:
The onClick only appears to be passed to the background element of the component, clicking the circle element of the switch causes the click event to still be propagated to the switch's parent element even though stopPropagation() should be getting called for the entire switch component.
The text was updated successfully, but these errors were encountered: