Skip to content

Commit 87d83ff

Browse files
Add same note as in tutorial to doc. (#14136)
Co-authored-by: Rich Harris <[email protected]>
1 parent c6904e8 commit 87d83ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

documentation/docs/03-template-syntax/11-bind.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ All visible elements have the following readonly bindings, measured with a `Resi
223223
</div>
224224
```
225225

226+
> [!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`.
227+
226228
## bind:this
227229

228230
```svelte

0 commit comments

Comments
 (0)