Why x-show do not hide nested button #2502
bubnenkoff
started this conversation in
2. Show and tell
Replies: 1 comment 2 replies
-
The HTML is invalid, you can't have a block-level element inside an inline element. If you inspect the console, you'll see that the browser moved some HTML outside of the tag (this happens without Alpine, it's just the browser trying to patch badly formatted documents on the fly). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://codepen.io/bubnenkoff/pen/MWEpPpV
Why I am still seeing blue button borders? The elements inside x-show should be hidden. How to hide all?
Beta Was this translation helpful? Give feedback.
All reactions