Skip to content

Commit 5ee74aa

Browse files
Update website/docs/API.md
1 parent 068be8f commit 5ee74aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

website/docs/API.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,9 @@ fireEvent.scroll(screen.getByText('scroll-view'), eventData);
397397
```
398398

399399
:::note
400-
Prefer using [`user.scrollTo`](./UserEvent.md#scrollto) over `fireEvent.scroll` for `FlatList`, `SectionList` and `ScrollView` components.
401-
User Event provides a more reliable and realistic event simulation that is suitable for React Native.
400+
401+
Prefer using [`user.scrollTo`](./UserEvent.md#scrollto) over `fireEvent.scroll` for `ScrollView`, `FlatList`, and `SectionList` components. User Event provides a more realistic event simulation based on React Native runtime behavior.
402+
402403
:::
403404

404405
## Helper functions

0 commit comments

Comments
 (0)