react-flatpickr
react-flatpickr copied to clipboard
Mobile datepicker gets rendered twice when using Nextjs 13
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.
👋 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.
is there any way to overcome this problem?, I am also using nextjs 13, and this problem is experienced by me as well