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

PickerDropPane renders twice in NextJS 14+ unless react strict mode is disabled #144

Open
oneillsp96 opened this issue May 16, 2024 · 0 comments

Comments

@oneillsp96
Copy link

repro:

simply add:
<PickerDropPane apikey={process.env['NEXT_PUBLIC_FILESTACK_API_KEY'] />

to a client component, and see the picker rendered twice. In next.config.js, setting reactStrictMode: false fixes it.
image

@oneillsp96 oneillsp96 changed the title PickerDropPane renders twice in NextJS 14+ when react strict mode is enabled PickerDropPane renders twice in NextJS 14+ unless react strict mode is disabled May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant