Skip to content

Commit

Permalink
docs(README): add note for sticky items
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Apr 30, 2022
1 parent fb8a102 commit 3716f80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ const List = () => {
};
```

> 💡 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.
> 💡 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.
### Scroll to Offset / Items
Expand Down

0 comments on commit 3716f80

Please sign in to comment.