Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2025

Bumps react-datepicker from 9.0.0 to 9.1.0.

Release notes

Sourced from react-datepicker's releases.

9.1.0

Highlights

This release includes important bug fixes, TypeScript improvements, and a new feature. Most notably, it restores date parsing behavior that was accidentally removed in v8.0.0.

New Feature

Allow onClickOutside to prevent calendar from closing (#6179)

The onClickOutside callback can now prevent the calendar from closing by calling event.preventDefault(). This is useful when using custom portal-based dropdowns in the calendar header.

  <DatePicker                                                                                                                                                                           
    onClickOutside={(event) => {                                                                                                                                                        
      if (myPortalRef.current?.contains(event.target)) {                                                                                                                                
        event.preventDefault(); // Keeps calendar open                                                                                                                                  
      }                                                                                                                                                                                 
    }}                                                                                                                                                                                  
  />                                                                                                                                                                                    

Full Changelog

What's Changed

New Contributors

Full Changelog: v9.0.0...v9.1.0

Commits
  • 0a3fa07 9.1.0
  • 75a4ed1 Merge pull request #6172 from Hacker0x01/fix/restore-native-date-fallback-6164
  • d4625d4 Merge pull request #6180 from Hacker0x01/fix/issue-5814-mask-input-clearing
  • 668468a Merge pull request #6179 from Hacker0x01/fix/prevent-close-on-click-outside
  • e5d4948 fix: clear selection when masked input is cleared on blur
  • 3700259 feat: allow onClickOutside to prevent calendar from closing
  • 0231bbd Merge pull request #6177 from Hacker0x01/test/datepicker-format-weekday-prop
  • 344d1ed test: add formatWeekDay prop test for DatePicker component
  • 041f1ac chore: dedupe yarn.lock for @​typescript-eslint/parser
  • de00ec3 Merge pull request #6176 from Hacker0x01/dependabot/npm_and_yarn/types/node-2...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: react-datepicker
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 19, 2025
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.23%. Comparing base (644f2f5) to head (15c26b8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6183      +/-   ##
==========================================
- Coverage   99.31%   99.23%   -0.08%     
==========================================
  Files          30       30              
  Lines        3810     3810              
  Branches     1639     1656      +17     
==========================================
- Hits         3784     3781       -3     
- Misses         25       27       +2     
- Partials        1        2       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant