gpt4 book ai didi

javascript - 网站无法在 Chrome 中使用箭头键滚动

转载 作者:行者123 更新时间:2023-11-28 14:36:32 25 4
gpt4 key购买 nike

好吧,我知道这可能是世界上最简单的事情,但我无法对其进行排序。

我正在开发一个网站,它无法使用键盘箭头滚动。

我知道这可能是由于焦点所致,但不知道在哪里。

http://www.hathershaws.eighty3dev.co.uk/

最佳答案

我发现了问题,就是这个脚本:smoothscroll.js,禁用它,您将能够使用箭头键滚动

Chrome 开发工具警告:

Intervention] Registering mousewheel event as passive due to smoothscroll.js usage. The smoothscroll.js library is buggy, no longer necessary and degrades performance. See https://www.chromestatus.com/feature/5749447073988608

enter image description here

关于javascript - 网站无法在 Chrome 中使用箭头键滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49722421/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com