react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

1.7.3 development (React18)

Open seldi-Jaehun opened this issue 10 months ago • 11 comments

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 avatar Feb 04 '25 01:02 seldi-Jaehun

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

seldi-Jaehun avatar Feb 04 '25 01:02 seldi-Jaehun

facing the same problem, it works fine in local 😫

devjsrana avatar Feb 04 '25 04:02 devjsrana

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

seldi-Jaehun avatar Feb 04 '25 04:02 seldi-Jaehun

@rezvee99

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

seldi-Jaehun avatar Feb 04 '25 06:02 seldi-Jaehun

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

i use this command and its work properly.

rezvee99 avatar Feb 04 '25 06:02 rezvee99

@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.

rezvee99 avatar Feb 04 '25 08:02 rezvee99

@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 😭😭😭

seldi-Jaehun avatar Feb 04 '25 08:02 seldi-Jaehun

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

rezvee99 avatar Feb 04 '25 08:02 rezvee99

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

onesine avatar Feb 04 '25 12:02 onesine

In my case, updating the library did not work, so I removed it and used HTML5 for the date picker instead.

Seema-Signity avatar Feb 11 '25 09:02 Seema-Signity

How did you do the update?

onesine avatar Feb 11 '25 10:02 onesine