This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
md-menu scrolls to top when an item is selected #5690
Labels
P4: minor
Minor issues. May not be fixed without community contributions.
Milestone
Demo: http://codepen.io/Magador/pen/ZbmeRo
When selecting an item or dismissing the opened menu, the page scroll to its top.
The bug happens on Chrome 48, IE 11, but not on Firefox 42.
It seems that
body.scrollTop = scrollOffset
in src/core/util/utils.js#L254 cannot be changedEdit: I overcame the bug by setting
because it's set at
100%
in src/core/style/structure.scss#L2Demo resolved: http://codepen.io/Magador/pen/wKRBLg
The text was updated successfully, but these errors were encountered: