Closed bulent-eroglu closed 3 years ago
@bulent-eroglu Hi, I am facing exactly the same issue. Please let me know how you solved the issue?
@bulent-eroglu Hi, I am facing exactly the same issue. Please let me know how you solved the issue?
Hi, I solved it by using react-native-modal-dropdown-v2 instead so do npm i react-native-modal-dropdown-v2"
and import ModalDropdown from 'react-native-modal-dropdown-v2'
try that - hope it helps
@bulent-eroglu Hi, I am facing exactly the same issue. Please let me know how you solved the issue?
Hi, I solved it by using react-native-modal-dropdown-v2 instead so do
npm i react-native-modal-dropdown-v2"
andimport ModalDropdown from 'react-native-modal-dropdown-v2'
try that - hope it helps
thank you, let me try👍🏻
@bulent-eroglu Hi, I am also facing exactly the same issue. Please let me know how you solved the issue?
for Ios Platform ERROR Invariant Violation: scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures.
@bulent-eroglu Hi, I am facing exactly the same issue. Please let me know how you solved the issue?
Hi, I solved it by using react-native-modal-dropdown-v2 instead so do
npm i react-native-modal-dropdown-v2"
andimport ModalDropdown from 'react-native-modal-dropdown-v2'
try that - hope it helps
i was also facing the same issue with android-app RN-0.71.1 and "react-native-modal-dropdown": "^1.0.1", @bulent-eroglu Appreciate!
Whenever I press on the selector the app crashes
Error:
scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures.
Code: