当前位置: 动力学知识库 > 问答 > 编程问答 >

extjs5 - ExtJS 5 textfield bug (Chrome)

问题描述:

I create simple application with window and 3 field:

Fiddle Link (Use Chrome)

When I enter a value in the field, it looks fine.

But when I change the focus,text in field moves down.

All fields work similarly.

After click on trigger (if field has it) text looks fine.

This bug only in Chrome.

IE, Opera, Firefox and Vivaldi work right.

How can I fix that?

网友答案:

It's a known bug for chrome. Take a look here for the workaround:

https://www.sencha.com/forum/showthread.php?301227-Visual-combobox-bug-in-Chrome-43.0.2357.65-m&p=1101244&viewfull=1#post1101244

网友答案:

Css fix:

.x-form-text { display: inline; }

Demo here: http://ext4all.com/post/extjs-5-textfield-chrome-bug-fix.html

分享给朋友:
您可能感兴趣的文章:
随机阅读: