rmariuzzo / react-new-window

🔲 Pop new windows in React, using `window.open`.
https://rmariuzzo.github.io/react-new-window/
MIT License
442 stars 107 forks source link

Problem with material-ui v4 select #160

Open edubeckha opened 2 months ago

edubeckha commented 2 months ago

Good evening, I'm trying to create a select component in a new window using the material-ui v4 select component (https://v4.mui.com/components/selects/). Even with the copyStyles function set to true, many CSS classes are not copied to the new window. Is there any workaround for this? I've attached two pictures showing the same component being shown on the main page of my application and inside a new window.

Thank you very much in advance!

Select component working as it is supposed to: NiceSelectList

Select component with all the items in one single row (lack of styles): NotSoNiceSelectList