Skip to content

[Tabs]:server-side-rendering problems with metarial-ui Tabs's indicator #13444

@WEN-JY

Description

@WEN-JY

I met a problem about the indicator of Tabs component ,
the detail is when ssr was finished,the span of indicator was inside of first tab whose class was 'MuiTab-root ',but after a while ,it turned to be inside the tab scroll container whose class was 'MuiTabs-scroller',about 400ms.
image

about 400ms later,it turned into this:
image
and during the period,I just did nothing
this can be repeated successfully 100% just disable the javascript and use ssr frameworks

Tech Version
Material-UI v3.3.1
React 16.5.1
Browser chrome
TypeScript no
etc. koa+nextjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions