DmitryBerdnikov
DmitryBerdnikov
I faced the same problem. Styled-components version 6 doesn't pass prop name `theme` to styled component . Working solution is wrapping components with different prop name, like buttonTheme and then...
Hi @chawes13! I tried to reproduce with default and custom events and it works with no difference. Does this problem still exist?
I tried to compare with [default events](https://codesandbox.io/s/interesting-hooks-8o2qpx?file=/src/App.js) and [your example](https://codesandbox.io/s/billowing-shadow-pyigy8?file=/src/App.js) it looks the same, when I click "Click me" button and then I click outside of the container, in both...
Thanks @chawes13! I see, now. I would like to take a look why it happens when I have time
For now, no idea. Need to find out why click and mousedown behave differently [example](https://codesandbox.io/s/late-cookies-94mk28?file=/src/App.js) with click and mousedown Quick solution is to use mousedown and touchstart instead of click