rsuite/rsuite

onOpen,onClose with the open prop is not working

IceCubexZ opened this issue · 1 comments

What version of rsuite are you using?

5.37.0

What version of React are you using?

18.0.24

What version of TypeScript are you using (if any)?

5.1.6

What browser are you using?

Chrome

Describe the Bug

image
image

When using it like this and clicking on the input it wont open the dialog

Expected Behavior

It should open the dialog

To Reproduce

image
image

Use Datepicker with onOpen and onClose . Pass open variable to the datePicker and try to open the datepicker .

Fixed in #3228