[pickers] Replace onOpen
/ onClose
with onOpenChange
#15859
Labels
breaking change
component: pickers
This is the name of the generic UI component, not the React module!
on hold
There is a blocker, we need to wait
Why?
It's the nomenclature that Base UI is following.
They have the following signature:
(open, event) => void
.Side note: it seems that they put the event in the 2nd param, it would be interesting to follow if
@mui/material
adopt this approach as well, in which case it would be a bad idea for us to work on #4729.I'm adding the "on hold" label to make sure we wait for Base UI to be stable before working on this kind of breaking changes.
Search keywords:
The text was updated successfully, but these errors were encountered: