Hacker0x01 / react-datepicker

A simple and reusable datepicker component for React
https://reactdatepicker.com/
MIT License
7.92k stars 2.23k forks source link

Fix keyboard keydown event handler #4742

Closed alvaromartinez986 closed 2 months ago

alvaromartinez986 commented 2 months ago

name: Pull Request about: Create a pull request to improve this repository title: "Keyboard fix for time picker show time select only" labels: "" assignees: "alvaromartinez986"

Description

Linked issue: #4701

Problem Keyboard not working when showTimeSelectOnly is True

Changes Add the selector for the time container when the prop showTimeSelectOnly is true

Screenshots

image

To reviewers

Contribution checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.26%. Comparing base (882867c) to head (92bf6c6). Report is 35 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4742 +/- ## ======================================= Coverage 97.26% 97.26% ======================================= Files 11 11 Lines 1461 1464 +3 Branches 651 654 +3 ======================================= + Hits 1421 1424 +3 Misses 40 40 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.