0

I use Tabs and Tab from mui https://mui.com/material-ui/react-tabs/ I have this kind of code ->

<Tabs variant="scrollable">

<Tab 1 />
...
<Tab x />

</Tabs>

I want to snap the next tab on the left after scrolling. I can’t find something in docs.

Any suggestions on how to archive this?

I tried reading the docs. I tried scrollSnapType and scrollSnapAlign on the <Tabs element. Without success.

Cyberwulf
  • 1
  • 1
  • Maybe you can make a quick playable example to see how are you trying to implement. Have you checked something like this? https://www.w3schools.com/cssref/tryit.php?filename=trycss_scroll-snap-type – Lalo Mores Aug 24 '23 at 16:21
  • Please provide enough code so others can better understand or reproduce the problem. – Community Aug 24 '23 at 21:22

0 Answers0