Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2026

Bumps react-datepicker from 8.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: Hacker0x01/react-datepicker@v9.0.0...v9.1.0

🎄 React Datepicker v9.0.0 - Holiday Release 🎁

🌟 Major New Features

🌍 Timezone Support (Finally!)

... (truncated)

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 8.0.0 to 9.1.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](Hacker0x01/react-datepicker@v8.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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file Urgency: Low could be reviewed during multiple sprints labels Jan 1, 2026
@dev-rminds dev-rminds assigned RobinMeles and unassigned dev-rminds Jan 7, 2026
@dev-rminds dev-rminds requested a review from RobinMeles January 7, 2026 22:35
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 Urgency: Low could be reviewed during multiple sprints

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants