-
Notifications
You must be signed in to change notification settings - Fork 539
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
长按之后按钮不会恢复 #11
Comments
@Liubara 请具体说明任务名称和编号 |
第一个鼓点,在长按asdfghjkl等键松开之后样式木有清除... |
removeTransition()里面直接写this.classList,remove('playing');就不会出现这种情况了,我也不知道为什么。。。。 |
我也遇到这个问题,但发现原因并不是this.classList或者event.target.classList,而是在过滤事件的代码中 border-right-color0.07 transform0.039687321288511164 border-right-color0.023046654416248202 另外在检测transform或者box-shadow属性时,如果将样式中的transition时间改长一些(我改的2s)也不会出现样式不恢复问题。 |
是这样的!把监听transitionend 改成了监听“keyup”好像可以解决 |
在长按某个键之后松开样式没有恢复...
The text was updated successfully, but these errors were encountered: