-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Content shift in Dialog component #1046
Comments
Did you manage to find a fix for this? |
@jakebennett18505 Unfortunately no :( |
I have this issue as well, did anyone find a temporary workaround? |
It's mostly unavoidable in the current implementation. It is fixed in the Svelte 5 version coming soon though. |
Fixed in @next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There is a bug with content being shifted when a
Dialog
component is inside of a flex container with the gap property and hasContent
specified. This error occurs briefly when the page is loaded (and possibly hydrated) to later disappear and behave as expected.Reproduction
https://stackblitz.com/edit/github-hxkj5f?file=src%2Froutes%2F%2Bpage.svelte
reproduction.mov
Logs
No response
System Info
INB4 - I have used these packages in my project, but in the reproduction above, I've used Svelte 4 and the issue persists
Severity
annoyance
The text was updated successfully, but these errors were encountered: