Skip to content

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

New issue

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

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

Already on GitHub? # to your account

Open
oneillsp96 opened this issue May 16, 2024 · 1 comment

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
@DanielTriolla
Copy link

did you find any solution for that issue?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants