-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
🤖 Hey there @jalexy12! 👋 I'm Dosu, a bot here to lend a hand with bugs, answer questions, and guide you through becoming a contributor while we await a human maintainer. I'm diving into your table overflow issue and will get back to you with some insights shortly! |
Beta Was this translation helpful? Give feedback.
-
Disclaimer: This is a very experimental bot using OpenAI's GPT-4. The answers may not be correct, a human will review the answer and update it if necessary. Sorry, I don't know how to help with that. I did do a search though, and I managed to find these other Discussions that might be similar or related to your question. Give them a read to see if they answer your question. If they do, head back here and update this discussion and mark it as answered, pointing others to the related discussion:
|
Beta Was this translation helpful? Give feedback.
-
🤖 Based on the context provided, it seems like you're dealing with a common issue related to the visibility of scrollbars on Macs. The visibility of scrollbars is controlled by the system preferences on Macs. If the user has chosen to hide scrollbars in their system preferences, the scrollbars will not be visible even with CSS styles. Unfortunately, there is no way to override this behavior with CSS or JavaScript. However, in the Paste design system, you can make a table scrollable by using the <Table scrollHorizontally>
<TBody>
<Tr verticalAlign="top" data-testid="mockTr">
<Td>Column 1</Td>
</Tr>
</TBody>
</Table> Additionally, the <Table noWrap>
<TBody>
<Tr verticalAlign="top" data-testid="mockTr">
<Td>Column 1</Td>
</Tr>
</TBody>
</Table> You can find more information about these props in the Table component test cases. I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
Hi @jalexy12 Something like this has come up before, but we don't have a "system" solution for it just yet. An example in the System I can point to is in the Sidebar, where if the nav is longer than the scrolling container we display this very subtle shadow at the bottom of the scrolling div. (it's to subtle, honestly) As you scroll away the gradient disappears as you get to the bottom of the scrolling region. It's just a visual hint to the user that the content is scrollable and there is more content, and it doesn't rely on scroll bars being present. It's a very custom piece of CSS that you can find here Something like that might help you out in this situation if you are willing to play with some custom css? |
Beta Was this translation helpful? Give feedback.
Hi @jalexy12
Something like this has come up before, but we don't have a "system" solution for it just yet.
An example in the System I can point to is in the Sidebar, where if the nav is longer than the scrolling container we display this very subtle shadow at the bottom of the scrolling div. (it's to subtle, honestly)
As you scroll away the gradient disappears as you get to the bottom of the scrolling region.
It's just a visual hint to the user that the content is scrollable and there is more content, and it doesn't rely on scroll bars being present.
It's a very custom piece of CSS that you can find here
paste/packages/paste-core/components/sidebar/src/navigation/SidebarNavigation.tsx