y0c / react-datepicker

📅 React DatePicker Library (Flexible, Reusable)
https://y0c.github.io/react-datepicker
MIT License
168 stars 32 forks source link

fix: month view selection #57

Closed vilnytskyi closed 4 years ago

vilnytskyi commented 4 years ago

At the moment month selector is broken. The cause of issue is wrong computation of selected item's index based on current matrix row/column. This pull request fixes mentioned computation.

codecov-io commented 4 years ago

Codecov Report

Merging #57 into dev will not change coverage by %. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               dev       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines          640       640           
  Branches        71        71           
=========================================
  Hits           640       640           
Impacted Files Coverage Δ
src/components/TableMatrixView.tsx 100.00% <100.00%> (ø)

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 042930b...b0fac00. Read the comment docs.

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

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

Project coverage is 100.00%. Comparing base (042930b) to head (b0fac00). Report is 8 commits behind head on dev.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #57 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 26 26 Lines 640 640 Branches 71 71 ========================================= Hits 640 640 ```

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