[CLOSED] "Note" attribute on multiple form elements cause rendering issue in Chrome on v4.2.0 and 4.1.0

  1. #1

    [CLOSED] "Note" attribute on multiple form elements cause rendering issue in Chrome on v4.2.0 and 4.1.0

    Environment:
    • Windows 10
    • Chrome Version 56.0.2924.87 (64-bit)
    • Ext.NET 4.2.0
    • Theme="Gray" (But it also happens in Triton, even worse)


    In our application we use the Note attribute on some elements, the specific elements I will demonstrate is ComboBox, TextField, FileUploadField.

    The application was fine, rendering everything as it should, and then suddenly the render changed in Chrome, this may be because of an update in chrome as the system still work fine in IE, FF, Edge.

    What it is supposed to look like:
    Click image for larger version. 

Name:	Capture1.PNG 
Views:	40 
Size:	8.3 KB 
ID:	24881

    What it looks like:
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	44 
Size:	8.5 KB 
ID:	24882

    This is also happening on your own samples pages:
    EXT Sample

    aspx
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
      <title></title>
    </head>
    <body>
      <ext:ResourceManager ID="ResourceManager1" runat="server" />
        
        <ext:FormPanel ID="formMain" runat="server" Region="Center" Header="false" Border="false" Layout="VBoxLayout" Cls="panelBackground" BodyPadding="5" Width="520" Height="290">
          <Items>
            <ext:ComboBox ID="cboMedicalAid" runat="server" Width="500" FieldLabel="Medical Aid" TabIndex="1" Text="Momentum" TriggerAction="All" ValueField="Momentum" Note="Choose a medical aid to compare." />
            <ext:TextField runat="server" ID="txtEmail" FieldLabel="E-Mail" Width="500px" TabIndex="2" Note="Enter an e-mail address to receive compare file.<br>';' delimited list supported." />
            <ext:FileUploadField ID="txtFileUpload" runat="server" Width="500px" ButtonText="Browse" FieldLabel="File to upload" TabIndex="3" Note="Upload a file to compare." Icon="Attach" />
          </Items>
        </ext:FormPanel>
    </body>
    </html>
    aspx.cs
    using Ext.Net;
    using System;
    
    namespace Rss
    {
      public partial class MedicalAidCompare : System.Web.UI.Page
      {
        protected void Page_Load(object sender, EventArgs e)
        {
          if (!X.IsAjaxRequest)
          {
          }
        }
    
      }
    }
    Processes followed and possible issues / solutions:

    1) Removing the "Note" attribute from the elements fixed the issue. (this solution will not work for us)
    2) I override the class for the element in my own CSS, I don't know if this will cause issues on other parts of the application or other browsers. (not sure if this will work for us)
    .x-form-trigger-wrap {
        height: 0%; 
    }
    Last edited by fabricio.murta; Feb 24, 2017 at 1:49 PM. Reason: Duplicate
  2. #2
    Hello @ampathdev!

    Are you talking about the same issue reported in the thread linked below, right?
    - Bug when displaying Field 3.x and 4.x

    It really looks like the same bug, but let us know if that's not it.

    If that's the one, please subscribe to that thread, as we already have an open issue, a workaround, and will update there as soon as the fix makes it to Ext.NET sources.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    The example you pointed could be fixed with the patch suggested in the thread mentioned above, we've just updated it in examples explorer!
    Fabrício Murta
    Developer & Support Expert
  4. #4
    Thanks fabricio, It does look like the same issue, this override worked for us.
  5. #5
    Thanks for the feedback, @ampathdev!

    We'll be marking this as closed as then we can just follow the other thread.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 0
    Last Post: Aug 09, 2016, 6:23 AM
  2. Replies: 9
    Last Post: Apr 27, 2016, 1:13 AM
  3. Replies: 0
    Last Post: Mar 13, 2014, 4:34 AM
  4. [CLOSED] Store attribute "isUpload" from 1.x to 2.x
    By sisa in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 08, 2013, 3:32 PM
  5. Replies: 2
    Last Post: Feb 27, 2011, 3:33 PM

Posting Permissions