Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtualized List error when adding a flatlist inside bottomsheet. #3902

Open
1 task done
ali139713 opened this issue May 1, 2024 · 1 comment
Open
1 task done

Comments

@ali139713
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

Adding a flatlist inside bottomsheet.

Expected behavior

I get a react native "Virtualized Lists" warning.

Describe the bug

When we try to render a flatlist inside bottomsheet, We get a "Virtualized Lists" warning because bottomsheet is wrapped inside "ScrollView" and we don't have any option to avoid this warning.

Steps To Reproduce

- Add a bottomsheet comopnent.
- Render a flatlist inside it.
- You'll see the "Virtualized Lists" warning from react-native in console.

Screenshots

No response

Your Environment

`npx @rneui/envinfo`
  ```
    Output from `npx @rneui/envinfo` goes here.
  ```
  
  React Native Elements Env Info

Global Dependencies:

No related dependency found

Local Dependencies:

  • react : 17.0.2
  • react-native : 0.66.0
  • react-native-elements : ^3.4.2
  • @types/react-native : ^0.65.0
@ali139713
Copy link
Author

Here's the PR for it.
#3901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant