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

[Bug] disabledDates prop makes touch devices require extra tap to select dates #254

Open
sindrebenjamin opened this issue May 22, 2024 · 0 comments

Comments

@sindrebenjamin
Copy link

sindrebenjamin commented May 22, 2024

The disabledDates prop works as expected, except that it makes for a poor user experience on touch devices. The UI suggests that dates are selected when you tap them, but you will have to tap an additional time on the end date to actually enable the "apply" button, or to select them if the footer is disabled.

I thought my code were causing the issue at first, but I notice the same problem with the example in the documentation:
https://react-tailwindcss-datepicker.vercel.app/advanced-features#disabled-dates

@sindrebenjamin sindrebenjamin changed the title disabledDates prop makes touch devices require extra tap to select dates [Bug] disabledDates prop makes touch devices require extra tap to select dates May 22, 2024
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

1 participant