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 know this sounds like a weird request, but I'd like the option to disable this with a prop. I have a Table component with the Scrollbars tag at the very top so the table correctly scrolls. I am using this Table component in several components. One of my components I am working on actually has the Scrollbars in a component above the table so I don't want the table to have the scroll, so I would just like to disable the scroll for that particular circumstance. My other option is to make an identical component to Table and call it NonScrollingTable or something. But I know that is not ideal to copy so much code. DRY concept etc.
If it is any help, here is how I am using it in Table:
I know this sounds like a weird request, but I'd like the option to disable this with a prop. I have a
Table
component with theScrollbars
tag at the very top so the table correctly scrolls. I am using thisTable
component in several components. One of my components I am working on actually has theScrollbars
in a component above the table so I don't want the table to have the scroll, so I would just like to disable the scroll for that particular circumstance. My other option is to make an identical component toTable
and call itNonScrollingTable
or something. But I know that is not ideal to copy so much code. DRY concept etc.If it is any help, here is how I am using it in
Table
:The text was updated successfully, but these errors were encountered: