小编use*_*569的帖子

Material Dialog scrolls body to top on open

I am using Material UI in a react app and want to open a dialog on my page. The Dialog opens fine, the only problem is when it opens it scrolls the body of my page to the top.

The scroll-to-top behavior also happens when I open a Material Popover and when I open a Material TextBox selector. I've searched for hours for a solution for this and it seems like no one else has experienced this behavior before.

Any …

css twitter-bootstrap reactjs material-ui

6
推荐指数
1
解决办法
4573
查看次数

标签 统计

css ×1

material-ui ×1

reactjs ×1

twitter-bootstrap ×1