Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carousel 组件鼠标向左右滑动切换时报错 #505

Closed
myesn opened this issue Oct 23, 2020 · 2 comments
Closed

Carousel 组件鼠标向左右滑动切换时报错 #505

myesn opened this issue Oct 23, 2020 · 2 comments
Labels
wontfix 不处理

Comments

@myesn
Copy link

myesn commented Oct 23, 2020

Description

image

仅在手机视图模式下报错

Environment

  • zarm version 2.5.6
  • react version 16.14.0
  • system version windows 10 专业版(2004)
  • browser version Google Chrome 86.0.4240.75(正式版本) (64 位)
@JeromeLin
Copy link
Collaborator

JeromeLin commented Oct 26, 2020

这个问题是 React 尚未提供对 Passive Event Listeners 的原生支持。passive 可以用来提升页面滑动的流畅度,现在的提示并不影响功能的使用,后面考虑优化一下,使用原生事件来绑定。

React v17有望解决这个问题,可以关注下这个issue:facebook/react#6436

@JeromeLin JeromeLin added the wontfix 不处理 label Oct 26, 2020
@myesn
Copy link
Author

myesn commented Oct 26, 2020

谢谢你的回复,我会持续关注的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix 不处理
Projects
None yet
Development

No branches or pull requests

2 participants