JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.42k stars 4.1k forks source link

fix: hydration problem caused by isAppleDevice #5860

Open zhouhua opened 5 months ago

zhouhua commented 5 months ago

try to fix #5859

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 35de3a1f34f10fefdd4a1a2c85a2f1a651091a0a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

codesandbox-ci[bot] commented 5 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 35de3a1f34f10fefdd4a1a2c85a2f1a651091a0a:

Sandbox Source
react-codesandboxer-example Configuration
smnbbrv commented 3 months ago

@JedWatson could you check this please? The warning is really annoying

robahtou commented 3 months ago

Ran into the same issue using latest nextjs. To get over the issues I did const Select = dynamic(() => import('react-select'), { ssr: false });. Any updates when this fix/PR will land? Awesome library by the way!