Skip to content

if/else rendering in webkit-box (18.4 (20621.1.15.11.10)) #15736

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

Open
andriuwe4ka opened this issue Apr 11, 2025 · 0 comments
Open

if/else rendering in webkit-box (18.4 (20621.1.15.11.10)) #15736

andriuwe4ka opened this issue Apr 11, 2025 · 0 comments

Comments

@andriuwe4ka
Copy link

Describe the bug

with latest Safari update we encountered strange behavior

  • we have one tag with display: -webkit-box
  • inside it we have svelte if/else block
  • inside default visible part of if/else (no metter if or else) we have 2+ tags (even empty)
  • when it is time to rerender based on if condition - only first default visible tag is hidden, its space is reused, however second tag is still there

seems like happens only on first rerender, however should be additionaly checked
only second and following tags affected
repro in Safari only (for now)

Reproduction

https://svelte.dev/playground/82c0ba79c6a84c5d97d21ac2317160e2?version=5.25.12

Logs

System Info

Safari 18.4 (20621.1.15.11.10)

Severity

blocking an upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants