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
When I make a separated component for ListItemSecondaryAction, the click event bubbles up. https://codesandbox.io/s/bcerz
But if ListItemSecondaryAction is contained inside ListItem directly, it doesn't have bubbling effect. https://codesandbox.io/s/ohev6
please open the console panel
Either without or with bubbling works for me, I can add event.stopPropagation by myself.
But I am quite curious why the second case doesn't have bubbling effect.
The text was updated successfully, but these errors were encountered:
I think it is both a bug and a question.
When I make a separated component for
ListItemSecondaryAction
, the click event bubbles up. https://codesandbox.io/s/bcerzBut if
ListItemSecondaryAction
is contained insideListItem
directly, it doesn't have bubbling effect. https://codesandbox.io/s/ohev6Either without or with bubbling works for me, I can add
event.stopPropagation
by myself.But I am quite curious why the second case doesn't have bubbling effect.
The text was updated successfully, but these errors were encountered: