Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

threadFeedEndFollow.ts

8 lines354 Bytes

1export const THREAD_FEED_MAINTAIN_SCROLL_AT_END = {
2 animated: false,
3 on: { dataChange: true, itemLayout: true, layout: true },
4} as const;
5​
6// Re-arm end following only at the end itself: a release short of it, such as pulling to
7// load earlier activity, must not snap back to the end.
8export const THREAD_FEED_MAINTAIN_SCROLL_AT_END_THRESHOLD = 0;