Skip to content

Commit 78dfb31

Browse files
committed
Docs: improve scroll region doc
see inertiajs/inertiajs.com#398
1 parent 2d05c14 commit 78dfb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/scroll-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ If your app doesn't use document body scrolling, but instead has scrollable elem
149149
In these situations, you must tell Inertia which scrollable elements to manage by adding the `scroll-region` attribute to the element.
150150

151151
```html
152-
<div class="overflow-y-auto" scroll-region>
152+
<div class="overflow-y-auto" scroll-region="">
153153
<!-- Your page content -->
154154
</div>
155155
```

0 commit comments

Comments
 (0)