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 use the flowbite to make a SPA app, So there is a overflow-hidden class in the body.
But when I add a modal in my app , the modal will remove the overflow-hidden, It's OK for that. I think the component should not to assume there is no overflow-hidden in the the body class list .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use the flowbite to make a SPA app, So there is a overflow-hidden class in the body.
But when I add a modal in my app , the modal will remove the overflow-hidden, It's OK for that. I think the component should not to assume there is no overflow-hidden in the the body class list .
Of course, this is a think when I use it.
Thanks flowbite
flowbite/src/components/modal/index.ts
Line 223 in 145c6f3
Beta Was this translation helpful? Give feedback.
All reactions