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

重现 #6 的 bug #9

Closed
wants to merge 1 commit into from
Closed

重现 #6 的 bug #9

wants to merge 1 commit into from

Conversation

riophae
Copy link

@riophae riophae commented Jul 7, 2015

v2.3.0,simple.js 的 demo 中,当勾选 transitionNamefocusclick 后,连续点击 trigger,会随机发生 focusclick 连续触发(间隔非常短,一般只有不到 20ms)的情况,一般 focus 在前、click 在后,从而导致气泡弹出的一瞬间又收回了。

这里有两段录像展示,下载地址:
http://pan.baidu.com/s/1c0FEp7U
密码: 4rna

其中 bug-demo 为 bug 重现的录像,patched 为修正后的演示录像。
请注意观察 console 中的时间和事件信息,其中记录了每次触发事件相应的事件名称,以及此时组件的状态。在有错误发生的地方会有红色字体的信息出现。

本 PR 中的代码即为错误演示代码,clone 下来后直接运行即可尝试。

(环境为 OS X 10.10.4 + Chrome 44 beta on MacBook Pro)

@yiminghe yiminghe mentioned this pull request Jul 8, 2015
@riophae riophae closed this Jul 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant