bsky-app/src/view
Hailey bc07019911
Further align web List with FlatList, add contain mode to web list implementation (#3867)
* add `onStartReached` to web list

* fix `rootMargin`

* Add `contain`, handle scroll events

* improve types, fix typo

* simplify

* adjust `scrollToTop` and `scrollToOffset` to support `contain`, add `scrollToEnd`

* rename `handleWindowScroll` to `handleScroll`

* support basic `maintainVisibleContentPosition`

* rename `contain` to `containWeb`

* remove unnecessary `flex: 1`

* add missing props

* add root prop to `Visibility`

* add root prop to `Visibility`

* revert adding `maintainVisibleContentPosition`

* oops

* always apply `flex: 1` to styles when contained

* add a contained list to storybook

* make `onScroll` a worklet in storybook

* revert test code

* add scrolling to storybook

* simplify getting scrollable node

* nit: extra whitespace

* nit: random comment

* foolproof the logic

* typecheck
2024-05-06 08:34:32 -07:00
..
com Further align web List with FlatList, add contain mode to web list implementation (#3867) 2024-05-06 08:34:32 -07:00
icons Add kawaii mode (#3773) 2024-05-01 08:59:40 +01:00
screens Further align web List with FlatList, add contain mode to web list implementation (#3867) 2024-05-06 08:34:32 -07:00
shell Add kawaii mode (#3773) 2024-05-01 08:59:40 +01:00