Scrollview with GooglePlacesAutocomplete doesn't work!
See original GitHub issueI was wondering if anyone knows how I can hide this error? I even tried to render a custom list but it still gives the error why it loads _renderRow
Example code
import React from 'react';
import {Text, ScrollView} from 'react-native';
import {GooglePlacesAutocomplete} from 'react-native-google-places-autocomplete';
const GooglePlacesInput = () => {
return (
<ScrollView>
<GooglePlacesAutocomplete />
</ScrollView>
);
};
export default GooglePlacesInput;```
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
React-native-google-places-autocomplete does not work in a ...
I found the solution but first do not add this, ... Simply add "horizontal={true}" to any ScrollView wrapping your component like this.
Read more >React-native-google-places-autocomplete does not work in a ...
Coding example for the question React-native-google-places-autocomplete does not work in a Scroll View? VirtualizedLists should never be nested inside plain ...
Read more >react-native-google-places-autocomplete - npm
Cons: the library is not compatible with a Application key restrictions; doesn't work directly on the web without a proxy server; any Google...
Read more >React-native-google-places-autocomplete not working
Replacing View with ScrollView is not a correct solution, as if you have multiple textInput s or button s, tapping on them while...
Read more >How to Fix 'VirtualizedLists should never be nested inside ...
VirtualizedLists should never be nested inside plain ScrollViews with the same ... If you place either of these two lists inside a ScrollView,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i fixed this issue by including keyboardShouldPersistTaps=‘always’ and listViewDisplayed={false} in your scroll view JSX
Same here