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

Reset preventFocus after closing the popper with Escape. #2147

Merged

Conversation

mgarciamartin
Copy link
Contributor

Return the preventFocus state to false after closing the calendar popper with Escape key. This issue prevented the calendar popper to open on the following navigations to the input with the keyboard.

It solves #2146

Return the preventFocus state to false after closing the calendar popper with Escape key. This issue prevented the calendar popper to open on the following navigations to the input with the keyboard.
@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #2147 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2147      +/-   ##
==========================================
+ Coverage   92.86%   92.88%   +0.01%     
==========================================
  Files          19       19              
  Lines        1150     1152       +2     
  Branches      297      297              
==========================================
+ Hits         1068     1070       +2     
  Misses         27       27              
  Partials       55       55              
Impacted Files Coverage Δ
src/index.jsx 86.66% <100.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9dd2bfb...e5fb017. Read the comment docs.

@martijnrusschen martijnrusschen merged commit 8bd2dfb into Hacker0x01:master May 15, 2020
p-rogas pushed a commit to p-rogas/react-datepicker that referenced this pull request Mar 22, 2023
…2147)

Return the preventFocus state to false after closing the calendar popper with Escape key. This issue prevented the calendar popper to open on the following navigations to the input with the keyboard.
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

2 participants