Add same note as in tutorial to doc. (#14136)

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/14176/head
Christoph Sanz 2 months ago committed by GitHub
parent c6904e892f
commit 87d83ffa39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -223,6 +223,8 @@ All visible elements have the following readonly bindings, measured with a `Resi
</div> </div>
``` ```
> [!NOTE] `display: inline` elements do not have a width or height (except for elements with 'intrinsic' dimensions, like `<img>` and `<canvas>`), and cannot be observed with a `ResizeObserver`. You will need to change the `display` style of these elements to something else, such as `inline-block`.
## bind:this ## bind:this
```svelte ```svelte

Loading…
Cancel
Save