Heyh guys, I'm making a rlly simple app in Electron, and I just created a button inside of a container that will open another page. For some reason, if the button is outside of the container it will work, otherwise it won't. That's not rlly what I would expect from basic html, so I tried to run the page on google and it indeed worked as I would expect. Is there something basic that I'm missing, or it's involved Electron? This is the HTML:
<div class="container">
<button id="settingsBtn"></button>
<p class="temp" id="cpu_temp">temp</p>
<p class="component">CPU</p>
</div>
as you can see it's rlly basic and I doubt any css can create issues, specially since on Electron I can't even highlight the element when hovering over it, while I can just as normal when doing it on a web browser