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

feat: add preventScrollToFocusedMonth prop #1

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Conversation

mdelez
Copy link

@mdelez mdelez commented Feb 2, 2024

Types of changes

What types of changes does your code introduce?

Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description

I find it distracting that the calendar jumps when you have more than 1 month at a time displayed. This prop disables the shifting of the focused month to the left side.

@goguda
Copy link

goguda commented Feb 5, 2024

Good idea, it's something we noticed while migrating the original codebase to TS. Merged, thank you!

@goguda goguda merged commit 7d761ff into iroomitapp:main Feb 5, 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

Successfully merging this pull request may close these issues.

2 participants