Albert Yu

Results 83 comments of Albert Yu

Thanks @yassinmars for looking into this 🙌

@rgavrilov When you use `displayEmpty`, you must manually control the `InputLabel`s shrunk state: https://mui.com/material-ui/api/select/#select-prop-displayEmpty You should also use `renderValue` to ensure something is rendered when your option with empty value...

> Duplicate of https://github.com/mui/material-ui/pull/41671? @charlesinto2 Thanks for working on this ~ would you be interested in contributing a test to https://github.com/mui/material-ui/pull/41671 instead?

@Nik-Waghchaure Have you tried the steps from our doc about CRA and CSP? https://mui.com/material-ui/guides/content-security-policy/#create-react-app-cra

@valleywood Could you try using the package versions in [this sandbox](https://codesandbox.io/p/sandbox/https-github-com-mui-material-ui-issues-41906-k7rz87?file=%2Fsrc%2FApp.tsx)?

@ngoquoctoandev Is this a Next.js app, and could you share a repro? You can fork this template: https://mui.com/r/issue-template-latest Or this one if you are using Next.js: https://codesandbox.io/p/devbox/material-ui-next-js-app-router-mcve-z5jyhh

I don't think this is an actual issue – `role=separator` is allowed in the [spec](https://w3c.github.io/html-aria/#el-li), and at least according to [this](https://stackoverflow.com/questions/69021634/the-correct-way-to-add-separators-in-lists#comment122035545_69021634) StackOverflow comment it will be announced correctly as a...

@experimarketing Your code works fine in a sandbox using our [issue template](https://mui.com/r/issue-template-latest), here's a working demo: https://codesandbox.io/s/https-github-com-mui-material-ui-issues-37148-hcprnf?file=/src/App.tsx The only thing I can spot is that you are using TS v5...

@ysds Thanks for reporting this 🙂 onKeyDown as a normal prop (not through `slotProps`) will work ```ts console.log('props onKeyDown')} /> ``` Here is a working sandbox: https://codesandbox.io/s/https-github-com-mui-material-ui-issues-37134-vxjbpy?file=/demo.tsx

Should we allow both to work 🤔 ? CC @michaldudak @mui/core