-
Couldn't load subscription status.
- Fork 4.2k
Closed
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet
Description
When using react-select with react-datepicker it seems that some architectural issue of react-select shows up.
Repro:
https://stackblitz.com/edit/react-o6gkep?file=src/App.js
Correct behaviour:
- Open datepicker.
- Click on select (not the part with icon on right) and observe datepicker is closed correctly.
Issue:
- Open datepicker.
- Click on the part with icon on right of select and observe datepicker is not closed.
I think there's a problem with how this div with icon is designed. Seems to me like it's highjacking events. That doesn't happen for other part of the select and IMO it shouldn't happen here as well.
It was reported here:
#1539
but closed without any resolution.
Versions:
"react": "17.0.2",
"react-datepicker": "4.6.0",
"react-dom": "17.0.2",
"react-select": "^5.2.2"
Metadata
Metadata
Assignees
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet