We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
组件内 按钮 绑定 click 且 输入框 绑定了 blur; 则 当 输入框聚焦是,点击按钮会优先触发 blur 事件(由于js单线程,一次仅执行一个事件,且 blur 优先级更高)
所以 这里需要采用比 blur 优先级更高的 mousedown 或 mouseup 事件 替代 click
优先级:mousedown > mouseup > click
The text was updated successfully, but these errors were encountered:
No branches or pull requests
组件内 按钮 绑定 click 且 输入框 绑定了 blur;
则 当 输入框聚焦是,点击按钮会优先触发 blur 事件(由于js单线程,一次仅执行一个事件,且 blur 优先级更高)
所以 这里需要采用比 blur 优先级更高的 mousedown 或 mouseup 事件 替代 click
优先级:mousedown > mouseup > click
The text was updated successfully, but these errors were encountered: