[Select] does not accept slotProp: **placement** #547
Labels
component: select
This is the name of the generic UI component, not the React module!
package: @mui/base (legacy)
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-fpjpbc?file=Demo.tsx
Steps:
Current behavior
After passing
slotProps={{ popup: { placement: 'top' } }}
to the select component, the placement of the popup cannot be modified.Expected behavior
One should expect the popup to spawn in the given direction.
Context
As I do have another bug with the implementation of my modified select component, where I cannot retrieve the placement of the popup using the
const popupContext = useContext(PopupContext);
I do want to limit the opening behaviour to only open towards the bottom, in order to always apply correct styling.Your environment
npx @mui/envinfo
Search keywords: Select, Popup
The text was updated successfully, but these errors were encountered: