Skip to content

Commit

Permalink
fix: close DatePickerInput when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenzo-Wada committed Oct 23, 2024
1 parent b6767c8 commit d7d534e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const DateTimePicker = factory<DateTimePickerFactory>((_props, ref) => {
return (
<PickerInputBase
formattedValue={formattedValue}
dropdownOpened={dropdownOpened}
dropdownOpened={!rest.disabled ? dropdownOpened : false}
dropdownHandlers={dropdownHandlers}
classNames={resolvedClassNames}
styles={resolvedStyles}
Expand Down

0 comments on commit d7d534e

Please sign in to comment.