Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiding parent container doesn't hide child element #157

Open
nish7x opened this issue May 21, 2024 · 1 comment
Open

Hiding parent container doesn't hide child element #157

nish7x opened this issue May 21, 2024 · 1 comment
Assignees
Labels

Comments

@nish7x
Copy link

nish7x commented May 21, 2024

In the below example, the child element is not visible only if it is explicitly hidden. Instead, if it is left visible and the parent container is set to hidden, the child element is still visible in preview and after publishing, but not visible on the editor canvas.

image
@nish7x nish7x added the bug Something isn't working label May 21, 2024
@surajshetty3416
Copy link
Member

surajshetty3416 commented May 22, 2024

Only happens if there is link within link because nested links are illegal (ref). Due to this, browser pulls out child link and makes it a sibling element.

Builder somehow should show the warning for this.


For now avoid nested link.

@surajshetty3416 surajshetty3416 added UX and removed bug Something isn't working labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants