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
When using a list with infinite scrolling using useInfiniteQuery that has a contentContainerStyle with a percentage value for paddingHorizontal the list is not rendered at all
Expected behavior
The list should render with the correct padding applied. Using numerical padding works as intended. Using the FlatList Native component instead of FlashList works
Current behavior
When using a list with infinite scrolling using
useInfiniteQuery
that has acontentContainerStyle
with a percentage value forpaddingHorizontal
the list is not rendered at allExpected behavior
The list should render with the correct padding applied. Using numerical padding works as intended. Using the
FlatList
Native component instead ofFlashList
worksTo Reproduce
See the example here : https://snack.expo.dev/@samuelbouchard/flashlist-infinitequery-bug
Switching the value from 30% to 30 in the component
DataList.js
works, the list appears normallySwitching FlashList to FlatList also fixes the problem
Platform:
Environment
1.7.1 (Also happening on 1.7.2)
expo 52
Also tested with React-Native 0.76.5 (same behavior happens)
The text was updated successfully, but these errors were encountered: