Can I lock the x position of my window using JavaScript without turning off the scrolling function?

前端 未结 0 974
灰色年华
灰色年华 2021-01-18 02:37

I am working on a project where I need to move an element with the scroll wheel, but the screen can only scroll conditionally depending on whether or not the element is in t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题