Open ljukas opened 3 weeks ago
When dealing with Scrollviews, the sheet has to handle it internally so the best solution for now is 3 :/ e.g. float the header above and add padding to the scrollview.
I can't add support for no. 2 since it would require the same special-internal code and I wanted it to be less opinionated.
When using Scrollable views such as ScrollView and Flatlist I am having issues having any other component above, like a header.
Variants
Using ListHeaderComponent and stickyHeaderIndices.
Putting the Header as a regular component inside the Sheet and the list after.
Absolute position the header above the List
Best solution would be if nr 2 works since this is the regular approach when using any other view or sheet, or react native sheet modal etc.