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

disabledByDefault combined with disableAllTouchEventsForDisabledDays not working for period marking type #2460

Open
Jack-Gill-TH opened this issue May 3, 2024 · 0 comments

Comments

@Jack-Gill-TH
Copy link

Description

When I use the Calendar props 'disabledByDefault' and 'disableAllTouchEventsForDisabledDays' together, I would expect the days which have been set to disabled by default not to register touch events. This works as expected when the marking type is dot, but not when the marking type is period.

Expected Behavior

Dates that have been disabled by default do not register touch events

Observed Behavior

They do register touch events - no error is reported.

Environment

This is reproducible in the react-native-calendars example project, in the Calendar playground.

Dots working:

disabled-works-for-dot-low-qual.mov

Period not working:

disabled-does-not-work-for-period-low-qual.mov

I'm working on a fix for this and will open a PR soon.

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