-
-
Notifications
You must be signed in to change notification settings - Fork 187
docs: Add note for dimension bindings. #634
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
Conversation
@christophsanz is attempting to deploy a commit to the Svelte Team on Vercel. A member of the Team first needs to authorize it. |
Can I ask what prompted this? It's no longer true — we use |
Hey! We tried to use it on display inline and it did not work. Changing to block, flex or grid - everything works again. Or at least it does not work when changing the size by adding content to an inline element, or changing the style, not sure about other means of changing size. While debugging i stumpled upon this note in the the old docs and figured that the new docs will need it as well. So my guess is the resizeObserver has the same limitations with display inline elements as the oled approach? |
Huh! I could have sworn it worked on inline elements too — very surprising that it doesn't. Interestingly, the |
Not sure either, but some kind of small note would be nice until (or if) this can be done. |
apps/svelte.dev/content/tutorial/02-advanced-svelte/04-advanced-bindings/04-dimensions/index.md
Outdated
Show resolved
Hide resolved
…d-bindings/04-dimensions/index.md
Okay so the |
@Rich-Harris Maybe you can add this note also to the general Docs here: Thank you! |
A note on documentation PRs
If this is a documentation PR (i.e. changing content within
apps/svelte.dev/content/docs
), then this is the wrong repository to make those changes. The content in this folder is synced from other repositories. Therefore, these changes should be made in their respective repositories (at https://github.com/sveltejs/svelte or https://github.com/sveltejs/kit, or example).Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.