#Updated to Mantine 6, now all our modals have horizontal Scroll

5 messages · Page 1 of 1 (latest)

atomic lava
#

Loving the library, has saved us hours, but this one's a bit of a problem. All of our modals looked great, but now we're having to be careful with the content of titles etc as it's leading to a horizontal scrollbar that we can't get rid of.

Likely to do with the new scrollareacomponent prop, but is there a way we can restore the old behaviour with a default prop at the theme provider level?

Also is there somewhere we can see the justification for introducing this change? I'm sure there's something we can learn from the justification

#

Updated to Mantine 6, now all our modals have horizontal Scroll

worthy solstice
#

I encountered same thing earlier this week, I was able to resolve it by using the scrollArea component and setting the height with the style prop

atomic lava
#

Cheers @worthy solstice ! It sounds like that would solve a vertical scrollbar though, which we're okay with, did your solution of specifying a height+scrollarea fix a horizontal scrollbar?

atomic lava
#

most recent update has removed the scroll component by default, that's solved our problem 🙂