Open fregante opened 2 years ago
Did you figure this out? I have a large error message that should be in a scroll box, but when I set maxHeight
, the text gets truncated at the top (it somehow scrolls to the middle).
This is without setting maxHeight
:
But when I do (e.g. to calc(100vh - 100px)
):
Notice that the beginning of the text is different. It somehow gets pushed to a negative x position.
It's possible that a long message is passed to a toast, especially when showing errors. It'd be good to limit the height automatically, which should definitely be less than 100vh in all scenarios anyway.