CSS
.some-component {
overflow-x: scroll; /* or overflow-y */
}
.some-component::-webkit-scrollbar {
display: none;
}
Chakra-UI
<Flex overflow="scroll" css={{ "&::-webkit-scrollbar": { display: "none" } }}>
...some children
</Flex>
.some-component {
overflow-x: scroll; /* or overflow-y */
}
.some-component::-webkit-scrollbar {
display: none;
}
<Flex overflow="scroll" css={{ "&::-webkit-scrollbar": { display: "none" } }}>
...some children
</Flex>