React-native-google-places-autocomplete: VirtualizedLists should never be nested inside plain ScrollViews with the same orientation - use another VirtualizedList-backed container instead.

Created on 28 Nov 2019  路  17Comments  路  Source: FaridSafi/react-native-google-places-autocomplete

After upgrading to react-native 0.61 I get a lot of warnings like that:

VirtualizedLists should never be nested inside plain ScrollViews with the same orientation - use another VirtualizedList-backed container instead.

What is the other VirtualizedList-backed container that i should use, and why is it now advised not to use like that?

It comes when I am clicking on autocomplete.

awaiting author response No reproduction

Most helpful comment

temporary solution

import {YellowBox} from 'react-native';

YellowBox.ignoreWarnings([ 'VirtualizedLists should never be nested', // TODO: Remove when fixed ]);

All 17 comments

Any Solution??

I have faced same issues. Have any one got solution?

I have faced same issues. Have any one got solution?

Not yet.

temporary solution

import {YellowBox} from 'react-native';

YellowBox.ignoreWarnings([ 'VirtualizedLists should never be nested', // TODO: Remove when fixed ]);

I face the same issue, did you resolve this ?

I too have same issue. Any solution?

I have a ScrollView within a ListView and I get this error.

I too have same issue. Any solution?

not yet.

any update?

Any update?

any updates?

any update?

Any update?

Can someone please provide a fully reproducible example of this by showing some code or better yet, linking to a snack? I cannot reproduce this.

Closing, as I can't reproduce this. Please open a new issue (with code reproduction or steps) if you encounter this.

This happens when used inside a <ScrollView/>

i guess this happens to everyone using nativebase theme copntainers. list do not display whenever there is an error in api call

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tezahzulueta picture tezahzulueta  路  3Comments

macs03 picture macs03  路  3Comments

miguel-pm picture miguel-pm  路  3Comments

yashwanth15 picture yashwanth15  路  3Comments

mbelgrader picture mbelgrader  路  4Comments