Results 1 to 4 of 4

Thread: Standard Alert Message text cutoff in IE11

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default Standard Alert Message text cutoff in IE11

    Platform : IE 11 (Using ExtJs 4.2.1)

    Issue: Alert message text is getting cutoff for IE11. Any suggestion ?

    Fiddle: https://fiddle.sencha.com/#fiddle/qbp

    snapshot :

    TExt cutoff.png
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. I do see the issue in 4.2.1, but it seems to be resolved in 4.2.2. For what it's worth, 4.2.2 was the first 4.x version to officially support IE11.

  3. #3
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default

    Thank you Garry for the update.
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  4. #4
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130

    Default Yoyo..its working great in 4.2.1

    Hi all
    I have found a work around for IE11 too Here it is


    Code:
    Ext.override(Ext.MessageBox, {
        onShow: function() {
            var me = this;
            this.callParent(arguments);
            this.center();
            me.on('show', function() {
                var offset = 10;
                var helperEl = Ext.fly(me.helperElId) || Ext.fly(Ext.DomHelper.createDom({
                    tag: 'div',
                    id: me.helperElId,
                    style: {
                        position: 'absolute',
                        left: '-1000px',
                        top: '-1000px',
                        'font-size': '11px',
                        'line-height': '13px',
                        'font-family': 'arial, tahoma, helvetica, sans-serif'
                    }
                }, Ext.getBody()));
    
    
                if (me.msg && (me.msg.getWidth() !== (helperEl.dom.clientWidth + offset))) {
                    helperEl.update(me.msg.value);
                    me.msg.setWidth(Ext.Number.constrain(helperEl.dom.clientWidth + offset, me.minWidth, me.maxWidth));
                };
            }, this);
        }
    });

    ---A ship in the harbor is safe, but that is not what the ships are made for...

Similar Threads

  1. IE Message Box Wrapping Text IE11
    By jfenety in forum Ext 5: Bugs
    Replies: 3
    Last Post: 4 Jun 2016, 11:20 PM
  2. Replies: 3
    Last Post: 24 Apr 2014, 3:45 PM
  3. standard message by server exception
    By Stephan123 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 5 Jan 2012, 1:51 AM
  4. Replies: 3
    Last Post: 13 Sep 2010, 10:10 PM
  5. Standard message translation / localization
    By Uli in forum Ext 3.x: User Extensions and Plugins
    Replies: 1
    Last Post: 7 Jan 2010, 2:14 PM

Tags for this Thread

Posting Permissions

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