79401127

Date: 2025-01-30 20:17:14
Score: 0.5
Natty:
Report link

The problem was not that #root had overflow-x: hidden but that this style was global for almost all tags. So I had to remove it from the MUI Tabs component children element like this :

<main>
      <Tabs
        value={currentYear}
        onChange={handleYearChange}
        variant="scrollable"
        scrollButtons
        allowScrollButtonsMobile
        sx={{
          "& *": {
            overflowX: "unset",
          },
        }}
      >
        {renderTabs}
      </Tabs>
</main>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FlowRan