Skip to content

favor shownDate before new Date() for focus - #8

Open
bertho-zero wants to merge 1 commit into
iroomitapp:mainfrom
bertho-zero:patch-2
Open

bertho-zero wants to merge 1 commit into
iroomitapp:mainfrom
bertho-zero:patch-2

Conversation

@bertho-zero

Copy link
Copy Markdown

When we have a minDate + maxDate + shownDate, as soon as we empty the selected range the focus returns to new Date(), which can be outside of minDate/maxDate

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

Describe your pr here.

Related Issue: #xxx

When we have a minDate + maxDate + shownDate, as soon as we empty the selected range the focus returns to new Date(), which can be outside of minDate/maxDate
@bertho-zero
bertho-zero requested a review from goguda as a code owner September 30, 2024 12:48

This branch has not been deployed

No deployments
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.

1 participant