Home  >  Q&A  >  body text

javascript - chrome,鼠标点击窗口滚动条快速下拉到窗口外部释放,滚动条会回滚到最开始拉的位置,IE/firefox没这个问题,怎么解决?

环境 windows8 chrome 38.0
鼠标点击窗口滚动条快速下拉到窗口外部释放,滚动条会回滚到最开始拉的位置,这是什么问题?
在IE/firefox下没有这样的问题,有什么好的解决方案么?
demo

参考 Linux scroll bars pop back to starting position when mouse moves to the side

PHP中文网PHP中文网2749 days ago401

reply all(2)I'll reply

  • 阿神

    阿神2017-04-10 14:58:17

    我觉这个问题
    应该是由滚动条拖动 事件 机制引起的

    reply
    0
  • 高洛峰

    高洛峰2017-04-10 14:58:17

    抱歉 mac chrome 下无法复现,你的问题也许是个例吧。

    reply
    0
  • Cancelreply