React Native DropdownPicker doesn't expands in horizontal scrollview in iOS
Issue with DropdownPicker in iOS
Issues Faced in iOS with DropdownPicker in Horizontal Scroll with code attached
Case1: Horizontal Scrollview in react native takes static height and the dropdown picker doesn't gets expanded inside the view until some specific height is provided as such minheight:215
Case 2: If a specific height is provided to horizontal scrollview by default it takes that specific mentioned gap for say a height fixed with 215 but i don't need extra space beneath the horizontal scrollview
Case 3: If the horizontal scrollview with some specific height is provided a position:"absolute",there is no gap and the dropdown picker works well but the dropdown picker height blocks the flatlist beneath it i.e the space till 215 height the FlatList item doesn't gets clicked.
Have tried providing flexGrow:1 to contentContainerStyle but that doesn't seems to be working
This overlay issue is only in ios and works fine in android
Solution
Stay tuned to my posts and do share your valuable thoughts if any queries or you would like to share anything on this topic in the comment section and please do like and share my post if this was helpful.
Hope this helped you!!
0 Comments