We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题: 使用focus触发时,例如一个文本框,我想选中一段文字,鼠标一不小心就滑到了文本框的外边,这时并没有失焦,但tip却隐藏了,原来是触发了下面的事件
// 绑定 blur 隐藏事件 Overlay.blurOverlays = []; $(document).on('click', function (e) { hideBlurOverlays(e); });
这里的click能否改为mousedown ?
The text was updated successfully, but these errors were encountered:
有触发行为的,试试 http://docs.spmjs.io/arale-popup ?
Sorry, something went wrong.
就是用的popup, 选文字时鼠标是mousedown的,当鼠标移除文本框时,mouseup会触发 上述代码的事件!但本意是不想隐藏的,不知是否明白了?
可以做个静态在线demo看看
No branches or pull requests
问题:
使用focus触发时,例如一个文本框,我想选中一段文字,鼠标一不小心就滑到了文本框的外边,这时并没有失焦,但tip却隐藏了,原来是触发了下面的事件
// 绑定 blur 隐藏事件
Overlay.blurOverlays = [];
$(document).on('click', function (e) {
hideBlurOverlays(e);
});
这里的click能否改为mousedown ?
The text was updated successfully, but these errors were encountered: