jQuery scrollTop() returns 0 for all elements

后端 未结 3 1268
离开以前
离开以前 2020-12-31 09:46

At my job we have a one page site I created with AngularJS.
We\'re using the ui-router plugin (version 0.2.0).
Recently I\'ve noticed that when moving from one state

3条回答
  •  爱一瞬间的悲伤
    2020-12-31 10:04

    My code is happend this problem too, and I found a body{overflow: hidden;} is the reason, I remove "overflow: hidden;" and all is well.

提交回复
热议问题