You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'am using muuri for react and all is ok but when i open side panel or some modal windows my layout is breaking for every browser
i see that items lost their inline styles and class muuri-item. muuri-react-flag changed as well. maybe someone has already encountered this and will quickly answer, or I will try to reproduce it somewhere separately
I have a similar same problem. I've tried @MZanggl 's solution above, but in TypeScript I get the following error on the MuuriComponent ref:
Type 'MutableRefObject<undefined>' is not assignable to type 'Ref<DecoratedGrid> | undefined'.
Type 'MutableRefObject<undefined>' is not assignable to type 'RefObject<DecoratedGrid>'.
Types of property 'current' are incompatible.
Type 'undefined' is not assignable to type 'DecoratedGrid | null'.ts(2322)
I'am using muuri for react and all is ok but when i open side panel or some modal windows my layout is breaking for every browser
i see that items lost their inline styles and class
muuri-item
.muuri-react-flag
changed as well. maybe someone has already encountered this and will quickly answer, or I will try to reproduce it somewhere separately"react": "^16.13.1",
"styled-components": "^5.1.1",
(sorry for duplicate from haltu/muuri#437)
The text was updated successfully, but these errors were encountered: