I am currently utilizing a material-ui drawer with the mini variant drawer structure. Inside this drawer, I have incorporated a series of tabs utilizing the prevent scroll buttons tabs design. The version of material-ui being used is 4.12.3.
Regrettably, the tabs within the drawer exceed the width of the screen and introduce a horizontal scrollbar. To view the issue in action, you can refer to this codesandbox. Personally, I anticipated that the tabs would simply occupy the width of the drawer content and become scrollable, similar to the material-ui demo.
Is there an approach to ensuring that these tabs function as shown in the provided material-ui example while also preserving the functionality of the drawer?