Closed marcinkaczor closed 5 years ago
Hello @marcinkaczor, your styled-component (like all components) must be defined statically. I think it is the source of the bug.
@marcinkaczor can you please close the issue if it was the source of the bug?
Yes, @neoziro. This is the source of the bug. Thank you!
I am closing this issue.
🐛 Bug Report
I have noticed, that for more than one tooltip component on a page (tooltips are generated in loop), events are not propagated down to the Tooltip.
As a result, when I have have a Box component around the Tooltip with onClick and I click on tooltip it does not trigger, but only when I remove styled component.
This bug occurs only on mobiles.
Example code: