Martin Jaskulla
Martin Jaskulla
I closed this issue, because I wasn't sure if this is the correct repo to open this issue. I thought maybe it should be opened here: https://github.com/mui/material-ui. I reopened the...
@LukasTy Thanks for your help! I would be willing to create a PR, but I am not sure if I have the time. I will try and see if this...
What I figured out so far: There are two relevant lines in `node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js`. The first relevant line sets the container the `` elements will get added to later. `options.container` is...
If I bundle `CacheProvider` in my library and then import it from "reproduction-library" instead of "@emotion/react", the problem disappears. I don't know if this is the recommended approach though. Maybe...
I just noticed that the same issue exists when selecting a custom date range e.g. clicking on today's date in the calendar, which makes a "Today" shortcut also unusable, which...
This shows a workaround I tried and another behaviour I don't understand: https://codesandbox.io/p/sandbox/dx8gs6 Why does the DateRangePicker become empty after setting `value` to the current date range? ```tsx function B()...
Found a better workaround, which I still don't like. ```ts shortcuts: { onClick: (e) => console.log(e.target), items: [ { id: "1", label: "01.01.2020", getValue: () => { return [dayjs("01-01-2020"), dayjs("01-01-2020")];...
If you don't change anything about `onAccept` and instead allow passing every prop of `Chip` to each shortcut, you solve other problems as well e.g. shortcuts with long text having...