Bricks Version: 1.5-beta
Browser: all (out of scope)
OS: macOS (out of scope)
Hello dear Bricks family,
I might have too specific bug to report and hope you’ll be able to reproduce.
I suspect that some elements that are hierarchically under the Query loop could be affecting the whole page when their hover styles are set. Specifically a button.
I first got into this problem on a little bigger site so I tried to reproduce on blank new page and was able to reproduce the problem.
My structure looked accordingly:
(notice the highlighted Div has Query loop applied)
Steps to reproduce:
- Create few random elements (button, icon, image)
- Create few nested containers (e.g. section > container > div > div)
- Create Query loop on the inner div
- Create elements like image, title and button inside that div
- Style :hover of the image that lies inside the div with the Query loop - works as expected
- Style :hover of the button that lies inside the div with the Query loop (i.e. use red 2px dashed border) - here comes the bug
- Save & Check on frontend
Result:
Every element you hover over gets the red 2px dashed border which was applied on the button inside the div with Query loop
Expected Result:
Only the button gets the applied hover styles
Let me know if you have problems to reproduce I might dig a little deeper
Regards,
Lukas