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

Disables Input While Using Portal Unless keepFocusOnInput is Selected #2079

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

americool
Copy link

If using the portal you can still type an initial valid start date, however once said start date is finished, you lose focus off the input itself and can only enter the next date via the calendar. It was suggested in response to #2078 that we should simply disable the input while the calendar portal is open. This does that, but also allows the keepFocusOnInput prop to actually work with the portal, such that if you have both a portal prop and the keepFocusOnInput prop you can type in the entire start/end date. These two small changes make both possible.

… open, but also gives access to properly using the input if they have the portal prop and the keepFocusOnInput prop selected
@americool americool changed the title Fixes issue where user has ability to type in to input when portal is… Disables Input While Using Portal Unless keepFocusOnInput is Selected Jan 11, 2021
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.

None yet

1 participant