There is a problem, I have a clickable element and if I want to click on a button in the element, then both of them will work, when I need only the button to work. Implementation via ReactJS. Button position absolute in element! Code example:
<div onClick={() => alert(1)}>
...content
<button onClick={() => alert(2)}>Click me!</button>
</div>