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

1.7.3 development (React18) #301

Open
seldi-Jaehun opened this issue Feb 4, 2025 · 9 comments
Open

1.7.3 development (React18) #301

seldi-Jaehun opened this issue Feb 4, 2025 · 9 comments

Comments

@seldi-Jaehun
Copy link

Suddenly, the DatePicker causes the screen to look like this in development. Please let me know what the issue is and how to fix it

Image

@seldi-Jaehun
Copy link
Author

It looks fine in local, but I'm only getting that screen in development.

@devjsrana
Copy link

facing the same problem, it works fine in local 😫

@seldi-Jaehun
Copy link
Author

Please let me know how to fix itPlease let me know how to fix it 😭

@seldi-Jaehun
Copy link
Author

@rezvee99

I'm not using yarn, I'm using npm....

@rezvee99
Copy link

rezvee99 commented Feb 4, 2025

@devjsrana @seldi-Jaehun
yarn add [email protected]

i use this command and its work properly.

@rezvee99
Copy link

rezvee99 commented Feb 4, 2025

@rezvee99

I'm not using yarn, I'm using npm....

run this command npm i [email protected]
use this @1.7.3 version. i will be work as well.

@seldi-Jaehun
Copy link
Author

@rezvee99
I'm not using yarn, I'm using npm....

run this command npm i [email protected] use this @1.7.3 version. i will be work as well.

Thanks for the answer
I tried it with 1.7.3 and still the same thing happened 😭😭😭

@rezvee99
Copy link

rezvee99 commented Feb 4, 2025

at first remove node-modules and package-lock.json and replace "react-tailwindcss-datepicker" with "react-tailwindcss-datepicker": "1.7.3" this. then run npm i

@onesine
Copy link
Owner

onesine commented Feb 4, 2025

Hi @seldi-Jaehun,
The latest version (1.7.4) is not backwards compatible with React 18. So, to use it, you need to upgrade from React 18 to React 19. If you want to use React 18 on your project, you'll need to install version 1.7.3. The documentation has been updated for this purpose. For more details, click here.

at first remove node-modules and package-lock.json and replace "react-tailwindcss-datepicker" with "react-tailwindcss-datepicker": "1.7.3" this. then run npm i

You can follow @rezvee99's suggestion to solve your problem

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

4 participants