Skip to content

additional styling on DataTableScrollArea element? #196

Closed Answered by icflorescu
hughfitzgerald asked this question in Q&A
Discussion options

You must be logged in to vote

You were right to anticipate that by setting overflow to visible on the ScrollArea would break its functionality.

Have a look at how CSS overflow property works to better understand how it works and why this is happening: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow.

That's why anything placed inside the ScrollArea will be "clipped".

I'n not sure how you implemented the HoverCard you've mentioned, but I think I'd try to do it with a Mantine Popover component and see if setting its withinPortal property (see here) to true helps.
I might be wrong, but if my understanding is correct, rendering within a portal means it would place the element somewhere outside the "normal" hierar…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hughfitzgerald
Comment options

@icflorescu
Comment options

Answer selected by hughfitzgerald
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants