Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem Fieldset label not visible with Sencha ExtJs 7.x on chrome 87.0.4280.67

Tags:

extjs

I have a problem with chrome 87.0.4280.67 and Sencha ExtJs 7.x, after chrome update Fieldset label are not visible.

I can see the problem in the official kitchensink examples: https://examples.sencha.com/extjs/7.2.0/examples/kitchensink/?classic#form-fieldcontaine

like image 857
bartoleo Avatar asked Nov 19 '20 16:11

bartoleo


3 Answers

According to Sencha Support, the best solution is:

.x-fieldset-header, .x-fieldset-header-default > .x-fieldset-header-text {
    position: initial;
}

.x-fieldset-header, .x-fieldset-header-default .x-tool-tool-el {
    overflow: initial;
}

I've tested it on Ext 7.3.1 and 6.5.3

like image 191
mattiam Avatar answered Nov 14 '22 09:11

mattiam


We fixed it by adding

position:static

or

position: unset // (thanks to mitchell)

to

.x-fieldset-header-default > .x-fieldset-header-text

I tested it in ExtJS 6.2.1 and 7.3.1 in Chrome, Firefox and Edge and it works at the moment.

like image 32
Gašper Avatar answered Nov 14 '22 09:11

Gašper


I fixed it with

.x-fieldset-header,
.x-fieldset-header .x-tool-tool-el {
    overflow: unset;
}

Using only the position technique in @Gasper's answer worked for fieldsets that had only labels, but with collapsible fieldsets the expand/collapse icon was still hidden.

like image 33
Bart Avatar answered Nov 14 '22 08:11

Bart