Results 1 to 2 of 2

Thread: Extjs 6.7.0 Modern Material Theme Labels render incorrectly when panel collapsed.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Sep 2007
    Location
    Phoenix AZ
    Posts
    119

    Default Extjs 6.7.0 Modern Material Theme Labels render incorrectly when panel collapsed.

    https://fiddle.sencha.com/#view/editor&fiddle/2tb5


    If you toggle the "collapsed" config the form labels render differently. When the form is collapsed the labels are already up out of the field.

    Even if you clear out a field they do not go back to the correct position.

    -Mark

  2. #2
    Sencha User
    Join Date
    Oct 2018
    Location
    Noida
    Posts
    56

    Default

    Hi mcg1103,

    I have added override of doPositionPlaceholder function which is doing the trick. you can go to below fiddle to check the override -
    https://fiddle.sencha.com/#view/editor&fiddle/2tdc

    below are the additional lines that I have added in that function -
    // added below line to support if field is rendered hidden, then
    // on field resize, animation should be initiated again
    if(!this.el.getHeight()){
    this.on('resize', function(field){
    this.doPositionPlaceholder(inside, doAnimate);
    }, this, {single: true});
    return;
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •