-
|
Hey there, really glad to have found this library. For basic single-sheet, non-scrolling usage, it works great out of the box. But I'm having trouble getting the sheet's flatlist to autoscroll / auto-start to the bottom when the sheet opens. Tried a number of approaches but the sheet still opens with the top of the flatlist. The UX I'm looking for is:
Has anyone been able to create this auto-scroll/auto-start at bottom chat UI with Truesheet? Or any other bottom sheet (gorhom and react native formsheet had similar issues). Example files:https://github.com/kittst/react-native-true-sheet/blob/main/example/shared/src/components/sheets/MessagesExampleSheet.tsx Video:truesheet-messages-scroll.mov |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Here's the PR that fixes this: #442 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for taking a look @lodev09 . My issue isn't about focusing TextInputs inside ScrollViews though, it's about how to start the sheet at the bottom of a Scrollview. Either by just starting at the end of the list or by auto-scrolling down. I haven't been able to get this to work. Mind taking another look? |
Beta Was this translation helpful? Give feedback.
Here's the PR that fixes this: #442