Skip to content

Commit 3716f80

Browse files
committed
docs(README): add note for sticky items
1 parent fb8a102 commit 3716f80

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ const List = () => {
364364
};
365365
```
366366

367+
> 💡 For [better performance & accessibility](https://developer.mozilla.org/en-US/docs/Web/CSS/position#performance_accessibility). We encourage you to add `will-change:transform` to the positioned elements to render the element in its own layer, improving repaint speed and therefore improving performance and accessibility.
368+
367369
> 💡 The scrollbar disappears when using Chrome in Mac? If you encounter [this issue](https://bugs.chromium.org/p/chromium/issues/detail?id=1033712), you can add `will-change:transform` to the outer element to workaround this problem.
368370
369371
### Scroll to Offset / Items

0 commit comments

Comments
 (0)