-
Notifications
You must be signed in to change notification settings - Fork 2.3k
🎨🔨 Re-adjust the height of TimePicker on Calendar resize due to number of days #5539
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
Merged
martijnrusschen
merged 3 commits into
Hacker0x01:main
from
qburst:issue-5466/fix/update-time-select-height-on-calendar-resize
Apr 7, 2025
Merged
🎨🔨 Re-adjust the height of TimePicker on Calendar resize due to number of days #5539
martijnrusschen
merged 3 commits into
Hacker0x01:main
from
qburst:issue-5466/fix/update-time-select-height-on-calendar-resize
Apr 7, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…cker pass Related Commit: 70179e9 Related issue: Hacker0x01#5466
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5539 +/- ##
==========================================
+ Coverage 96.99% 97.01% +0.02%
==========================================
Files 30 30
Lines 3323 3350 +27
Branches 1410 1412 +2
==========================================
+ Hits 3223 3250 +27
Misses 98 98
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DawoudIO
added a commit
to ChurchCRM/CRM
that referenced
this pull request
Jul 7, 2025
 <h3>Snyk has created this PR to upgrade react-datepicker from 8.3.0 to 8.4.0.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **a month ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>react-datepicker</b></summary> <ul> <li> <b>8.4.0</b> - <a href="https://redirect.github.com/Hacker0x01/react-datepicker/releases/tag/v8.4.0">2025-05-25</a></br><h2>What's Changed</h2> <ul> <li>Fix readOnly prop for a clearButton and inline calendare by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SergeyKazarinov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/SergeyKazarinov">@ SergeyKazarinov</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2991375173" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5564" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5564/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5564">#5564</a></li> <li>Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2999650705" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5573" data-hovercard-type="issue" data-hovercard-url="/Hacker0x01/react-datepicker/issues/5573/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/issues/5573">#5573</a> 🐛 Fix the Selected Year Picker style when no date is selected by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3006849862" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5584" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5584/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5584">#5584</a></li> <li>Parse date range with dashes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexz-sg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/alexz-sg">@ alexz-sg</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3002849585" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5578" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5578/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5578">#5578</a></li> <li>Include SCSS files in exports by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/saltire/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/saltire">@ saltire</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2984074621" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5560" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5560/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5560">#5560</a></li> <li>🐛 Add missing datepicker close call onPopperKeyDown event - to handle ESC keydown event outside the day component by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3055666607" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5621" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5621/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5621">#5621</a></li> <li>🐛 Fix EndDatePicker selection range progress by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3054052205" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5619" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5619/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5619">#5619</a></li> <li>Add Claude Code GitHub Workflow by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martijnrusschen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/martijnrusschen">@ martijnrusschen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3084187602" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5640" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5640/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5640">#5640</a></li> <li>Move away from <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/import/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/import">@ import</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/martijnrusschen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/martijnrusschen">@ martijnrusschen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2858784029" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5426" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5426/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5426">#5426</a></li> <li>🐛 Apply --keyboard-selected to only if it's not already selected by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3089230056" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5651" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5651/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5651">#5651</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexz-sg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/alexz-sg">@ alexz-sg</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3002849585" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5578" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5578/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5578">#5578</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://redirect.github.com/Hacker0x01/react-datepicker/compare/v8.3.0...v8.4.0"><tt>v8.3.0...v8.4.0</tt></a></p> </li> <li> <b>8.3.0</b> - <a href="https://redirect.github.com/Hacker0x01/react-datepicker/releases/tag/v8.3.0">2025-04-09</a></br><h2>What's Changed</h2> <ul> <li>🐛🎨 Apply the <code>--selected</code> class for the YearPicker when the <code>selectsMultiple</code> is enabled by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2959609233" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5524" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5524/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5524">#5524</a></li> <li>Fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2924009885" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5502" data-hovercard-type="issue" data-hovercard-url="/Hacker0x01/react-datepicker/issues/5502/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/issues/5502">#5502</a>: 🐛 Fix '--in-selecting-range' class apply condition for End Date Picker by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2924034579" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5503" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5503/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5503">#5503</a></li> <li>🎨🔨 Re-adjust the height of TimePicker on Calendar resize due to number of days by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/balajis-qb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/balajis-qb">@ balajis-qb</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2975931816" data-permission-text="Title is private" data-url="Hacker0x01/react-datepicker#5539" data-hovercard-type="pull_request" data-hovercard-url="/Hacker0x01/react-datepicker/pull/5539/hovercard" href="https://redirect.github.com/Hacker0x01/react-datepicker/pull/5539">#5539</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://redirect.github.com/Hacker0x01/react-datepicker/compare/v8.2.1...v8.3.0"><tt>v8.2.1...v8.3.0</tt></a></p> </li> </ul> from <a href="https://redirect.github.com/Hacker0x01/react-datepicker/releases">react-datepicker GitHub release notes</a> </details> </details> --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._ **For more information:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIzMzc0YWFkMi0wNzJhLTQyNDUtOTgzYi1mZjhmNzAyYWI2NjQiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjMzNzRhYWQyLTA3MmEtNDI0NS05ODNiLWZmOGY3MDJhYjY2NCJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/dawoudio/project/e27b08aa-e5d2-4b10-8303-630a69d0b669?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/dawoudio/project/e27b08aa-e5d2-4b10-8303-630a69d0b669/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/dawoudio/project/e27b08aa-e5d2-4b10-8303-630a69d0b669/settings/integration?pkg=react-datepicker&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"react-datepicker","from":"8.3.0","to":"8.4.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"3374aad2-072a-4245-983b-ff8f702ab664","prPublicId":"3374aad2-072a-4245-983b-ff8f702ab664","packageManager":"npm","priorityScoreList":[],"projectPublicId":"e27b08aa-e5d2-4b10-8303-630a69d0b669","projectUrl":"https://app.snyk.io/org/dawoudio/project/e27b08aa-e5d2-4b10-8303-630a69d0b669?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2025-05-25T12:21:10.113Z"},"vulns":[]}'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #5466
Description
As mentioned in the ticket, the Time Picker height is not getting updated when we switch between months, so sometimes when we switch from 30 days month to 31 days month and vice a versa, we have some UI-issues. I added a Resize-Observer and update the time picker height whenever calendar popup height changes and updated the test cases for it.
Contribution checklist