简体   繁体   English

X可编辑-Chrome更新后select2不起作用

[英]X-editable - select2 not working after Chrome Update

I have problem with (x-editable), https://vitalets.github.io/x-editable/demo-bs3.html 我对(x-editable), https://vitalets.github.io/x-editable/demo-bs3.html有疑问

Select2 (dropdown mode) not working :( Select2(下拉模式)不起作用:(

after update Google Chrome to version 73.0.3683.86 (before update all was good) 将Google Chrome更新到版本73.0.3683.86之后(更新之前一切正常)

the field disappears when clicked. 单击时该字段消失。 Does anyone have a similar problem? 有人有类似的问题吗?

I was having this problem too and found a quick solution proposed from the X-editable developers on Github ( https://github.com/vitalets/x-editable/issues/1124 ). 我也遇到了这个问题,并在Github上找到了X可编辑开发人员提出的快速解决方案( https://github.com/vitalets/x-editable/issues/1124 )。

Go to the select2.js file and change the line with this function: 转到select2.js文件,并使用以下函数更改该行:

mask.show();

To: 至:

setTimeout(function () { mask.show(); }, 500);

Hope it will work now. 希望它现在可以工作。

X-editable is no longer maintained. X-editable已不再维护。

My solution is using the demo as an example, once clicked on the link right click on the search box and it works like it used to. 我的解决方案是以演示为例,单击链接后,右键单击搜索框,它的工作方式与以前一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM