禁用 flowplayer 上可滚动的箭头键
i need to disable the arrow keys in a flowplayer.org scrollable i have a text input that i cant move between the letters due to the scroller moving when arrow keys pressed, i dont care to disable the scroller keys permanently.
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将可滚动实例分配给一个变量:
然后禁用键盘导航(在您的情况下,专注于文本输入):
然后您可以在文本输入模糊时将其设置回 true。
You need to assign your scrollable instance to a variable:
And then disable the keyboard navigation (in your case, on focus on a text input):
Then you can set this back to true on blur of your text input.