You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I make the footer be sticky to the bottom of the screen as long as the list is short enough to not need to scroll? And then when more items are added to the list, so that it does need to be able to scroll to show all items, the footer should behave like it normally does.
If the above question didn't make sense to you, maybe this StackOverflow question does, which asks the same thing, but for FlatList instead. Unfortunately the provided solution for FlatList doesn't work for FlashList.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I make the footer be sticky to the bottom of the screen as long as the list is short enough to not need to scroll? And then when more items are added to the list, so that it does need to be able to scroll to show all items, the footer should behave like it normally does.
If the above question didn't make sense to you, maybe this StackOverflow question does, which asks the same thing, but for FlatList instead. Unfortunately the provided solution for FlatList doesn't work for FlashList.
https://stackoverflow.com/questions/48345587/render-flatlist-footer-at-bottom-if-list-doesnt-extend-off-page
Beta Was this translation helpful? Give feedback.
All reactions