mui / base-ui

Base UI is an open-source library of accessible, unstyled UI components for React.
https://mui.com/base-ui/
MIT License
258 stars 44 forks source link

Implement `initialFocus` and `finalFocus` props across relevant components #714

Open colmtuite opened 1 week ago

colmtuite commented 1 week ago

You should be able to pass a ref or function. We decided not to implement the content|auto string values. This prop should be ignored on touch devices, where focus should always go to the Popup element.

Search keywords:

michaldudak commented 1 week ago

To be clear: this applies to Dialog, AlertDialog, and Popover, right?

colmtuite commented 4 days ago

this applies to Dialog, AlertDialog, and Popover, right?

Correct