Skip to content

fix: crash ui after opening BottomSheetModal with BottomSheetSectionList on Web 5.2.10 (#2662)#2663

Merged
gorhom merged 1 commit into
gorhom:masterfrom
rozhkovs:fix/bottom-sheet-modal-with-section-list
Apr 29, 2026
Merged

fix: crash ui after opening BottomSheetModal with BottomSheetSectionList on Web 5.2.10 (#2662)#2663
gorhom merged 1 commit into
gorhom:masterfrom
rozhkovs:fix/bottom-sheet-modal-with-section-list

Conversation

@rozhkovs
Copy link
Copy Markdown
Contributor

fix: #2662

It turns out that SectionList doesn't have a getNativeScrollRef method, but it does have a getScrollableNode method. This solves the issue I referenced above.

I'm actually not sure whether any changes are needed on this library's side. This seems more like a react-native-web bug, but I don't quite understand why this method wasn't added. One related old issue. There may be some reasoning behind this that I'm not aware of.

I would appreciate any feedback. If needed, I can refine these changes or open an issue/PR in the react-native-web library.

@gorhom gorhom merged commit 5e4f00d into gorhom:master Apr 29, 2026
1 check failed
@gorhom
Copy link
Copy Markdown
Owner

gorhom commented Apr 29, 2026

thanks @rozhkovs for submitting this PR

@rozhkovs rozhkovs deleted the fix/bottom-sheet-modal-with-section-list branch April 29, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Crash UI after opening BottomSheetModal with BottomSheetSectionList on Web 5.2.10

2 participants