react-flatpickr icon indicating copy to clipboard operation
react-flatpickr copied to clipboard

Mobile datepicker gets rendered twice when using Nextjs 13

Open DaLukasDev opened this issue 1 year ago • 2 comments

Hi,

I'm using this datepicker in a NextJS 13 app. It works fine for desktop but on mobile for some reason the input gets rendered twice after picking a date.

I do also observe the issue described in #130 .

Any ideas why?

Kind regards.

DaLukasDev avatar May 26 '23 18:05 DaLukasDev

👋 This happened for me too... while migrating to app router w/ nextjs v13.4.4. I'm using the altFormat and altInput options... and it looks like the type="hidden" html attribute isn't getting passed to the altInput DOM element while using wrap: true.

I will do some more digging but posting a very superficial finding here, in case this helps anyone at all.

w0ofy avatar Jun 10 '23 19:06 w0ofy

is there any way to overcome this problem?, I am also using nextjs 13, and this problem is experienced by me as well

PegeDev avatar Jun 26 '23 05:06 PegeDev