Skip to content

Commit 15aa2b1

Browse files
Improve scrollToTop doc
Co-authored-by: Francois Zaninotto <francois@marmelab.com>
1 parent 466f2b8 commit 15aa2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Buttons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ It also supports [all the other `<Button>` props](#button).
600600

601601
### `scrollToTop`
602602

603-
By default, react-admin scrolls when redirecting to the create view. You can disable it as follows:
603+
By default, react-admin scrolls the page to the top after redirecting to the create view. You can disable it as follows:
604604

605605
```jsx
606606
const CloneButtonWithoutScrollToTop = () => <CloneButton scrollToTop={false} />

0 commit comments

Comments
 (0)