viktassen
PD🧩 Plasmo Developers
•Created by viktassen on 3/15/2024 in #👟framework
MUI styles with PlasmoGetInlineAnchorList
const MyButton = ({ anchor }) => {
const styleCache = createCache({
key: "plasmo-mui-cache",
prepend: true,
container: anchor.element.querySelector('plasmo-csui').shadowRoot,
})
Works for me, don't know if it is a best solution
3 replies
PD🧩 Plasmo Developers
•Created by tbrockman on 4/23/2023 in #👟framework
MUI Select component attachment point in CSUI?
const [current, setCurrent] = useState<HTMLElement>(null);
const ref = useRef();
useLayoutEffect(() => {
setCurrent(ref.current)
})
slotProps={{
popper: { container: current },
}}
9 replies
PD🧩 Plasmo Developers
•Created by tbrockman on 4/23/2023 in #👟framework
MUI Select component attachment point in CSUI?
How to do that with DateTimePicker?
9 replies