Repository navigation
[RNTester][iOS] Playground reproducer: inverted FlatList renders nothing at rest on device (#59731) - #59732
[RNTester][iOS] Playground reproducer: inverted FlatList renders nothing at rest on device (#59731)#59732zj-linjie wants to merge 1 commit into
Conversation
|
Hi @zj-linjie! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Reproducer for #59731 (inverted FlatList renders nothing at rest on device), as requested by @react-native-bot.
What reviewers will see (iPhone 16 Pro, iOS 27.0.1, RN 0.88.0, New Architecture/Fabric):
invertedswitch on (default), the playground's bare FlatList paints nothing at rest — the bordered container stays empty while the scrollbar is visible, scrolling gestures work, andonContentSizeChangereports the correct content size.The list is deliberately bare (
inverted+data+keyExtractor+renderItem, nomaintainVisibleContentPosition, no custom paddings, noremoveClippedSubviews), so no prop interaction is involved. In our app we also ruled those out individually — removingremoveClippedSubviewsand/ormaintainVisibleContentPositionfrom the inverted list does not change the failure, and the data layer was verified independently.Steps: build RNTester to a physical device (iOS 27, New Architecture), open the Playground tab, and compare the switch states. Re-entering the screen shows the content only while the push transition animates.
Happy to collect view-hierarchy dumps or systrace on request.
Test Plan
Verified on a physical iPhone 16 Pro (iOS 27.0.1, RN 0.88.0, New Architecture/Fabric), with the playground content running through Metro on the device:
invertedswitch ON (default): the list area stays blank at rest — the scrollbar is visible, scrolling gestures work, andonContentSizeChangereports the correct content size. Content paints only while a navigation transition is animating and vanishes when the screen settles.Changelog
[INTERNAL] ----------