[CLOSED] Issue with Resizable Textarea

  1. #1

    [CLOSED] Issue with Resizable Textarea

    Hi,
    In the following example , we have a resizable textarea
    If you go to tab 2 and come back to tab 1 the textarea gets dislocated. we are using version 2.5.0.30633

    
    <ext:TabPanel runat="server" Margin="5" Frame="true" Height="967" ID="tblMain">
                <Items>
                    <ext:Panel runat="server" Title="Step 1" OverflowY="Auto" ID="pnlMain">
                        <Items>
    
    
                            <ext:FieldSet runat="server" Title="Study Power" Collapsible="true" Width="460">
                                <Items>
                                    <ext:FieldContainer runat="server" Layout="HBoxLayout">
                                        <Items>
                                            <ext:ComboBox runat="server" Width="180" Editable="false" Name="Title" Margins="10">
                                                <Items>
                                                    <ext:ListItem Text="Primary / Outcome" Value="Primary / Outcome" />
                                                    <ext:ListItem Text="Secondary / Outcome" Value="Secondary / Outcome" />
                                                    <ext:ListItem Text="Third / Outcome" Value="Third / Outcome" />
                                                </Items>
                                                <SelectedItems>
                                                    <ext:ListItem Value="Primary / Outcome" />
                                                </SelectedItems>
                                            </ext:ComboBox>
    
    
                                            <ext:TextArea runat="server" Name="FirstName" Width="180" Margins="10" Resizable="true"/>
    
    
                                        </Items>
                                    </ext:FieldContainer>
                                </Items>
                            </ext:FieldSet>
                        </Items>
                    </ext:Panel>
    
    
                    <ext:Panel runat="server" Title="Step 2">
                        <Items>
                            <ext:Panel ID="Panel1" runat="server" Layout="HBoxLayout">
                                <Items>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:TabPanel>
    Last edited by Daniil; Apr 20, 2014 at 3:53 PM. Reason: [CLOSED]
  2. #2
    Any update on this?
  3. #3
    Hi @amitpareek,

    Thank you for the report.

    As a workaround, please try to wrap a TextArea in an <ext:Container>.
  4. #4
    Hi,
    Were you able to look into this issue and fix?
    There is another issue.

    Have a FieldSet->FitLayout->Container->FitLayout->Resizable textArea. The textfield will disappear on resize.

    Note that only 1 item is there in Container.

    <ext:TabPanel runat="server" Margin="5" Frame="true" Height="967" ID="tblMain">
                <Items>
                    <ext:Panel runat="server" Title="Step 1" OverflowY="Auto" ID="pnlMain">
                        <Items>
     
     
                            <ext:FieldSet runat="server" Title="Study Power" Collapsible="true" Width="460" Layout="FitLayout">
                                <Items>
                                    <ext:Container runat="server" Layout="FitLayout">
                                       <Items>
                                             <ext:TextArea runat="server" Name="FirstName" Width="180" Margins="10" Resizable="true"/>
                                       </Items>
                                    </ext:Container>
                                </Items>
                            </ext:FieldSet>
                        </Items>
                    </ext:Panel>
     
     
                    <ext:Panel runat="server" Title="Step 2">
                        <Items>
                            <ext:Panel ID="Panel1" runat="server" Layout="HBoxLayout">
                                <Items>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:TabPanel>
  5. #5
    Quote Originally Posted by amitpareek View Post
    Were you able to look into this issue and fix?
    Unfortunately, no. Does the workaround help?

    Quote Originally Posted by amitpareek View Post
    There is another issue.

    Have a FieldSet->FitLayout->Container->FitLayout->Resizable textArea. The textfield will disappear on resize.

    Note that only 1 item is there in Container.
    I cannot reproduce. I tried with FireFox. What browser are you testing with?
  6. #6
    Workaround helps only for 1st issue. For 2nd issue it does'nt. Try on chrome. I am using chrome.
    Quote Originally Posted by Daniil View Post
    Unfortunately, no. Does the workaround help?



    I cannot reproduce. I tried with FireFox. What browser are you testing with?
  7. #7
    The same with Chrome - I cannot reproduce. Could you, please, provide a test case. Maybe, I misunderstand something.
  8. #8
    The following code has issue after resizing text area.
    <ext:TabPanel runat="server" Margin="5" Frame="true" Height="967" ID="tblMain">
                <Items>
                    <ext:Panel runat="server" Title="Step 1" OverflowY="Auto" ID="pnlMain">
                        <Items>
      
      
                            <ext:FieldSet runat="server" Title="Study Power" Collapsible="true" Width="460" Layout="FitLayout">
                                <Items>
                                    <ext:Container runat="server" Layout="FitLayout">
                                       <Items>
                                             <ext:TextArea runat="server" Name="FirstName" Width="180" Margins="10" Resizable="true"/>
                                       </Items>
                                    </ext:Container>
                                </Items>
                            </ext:FieldSet>
                        </Items>
                    </ext:Panel>
      
      
                    <ext:Panel runat="server" Title="Step 2">
                        <Items>
                            <ext:Panel ID="Panel1" runat="server" Layout="HBoxLayout">
                                <Items>
                                </Items>
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:TabPanel>
    Quote Originally Posted by Daniil View Post
    The same with Chrome - I cannot reproduce. Could you, please, provide a test case. Maybe, I misunderstand something.
  9. #9
    I cannot reproduce.

    Btw, Layout="FitLayout" of a resizable TextArea's Container is controversial. I would say you should remove either FitLayout or Resizable="true".

Similar Threads

  1. [CLOSED] TextArea Height Issue
    By AABR in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 02, 2012, 6:00 PM
  2. [CLOSED] [1.0] Resizable issue in a User Control
    By egodoy in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 18, 2010, 3:54 PM
  3. Replies: 1
    Last Post: Mar 17, 2010, 7:39 AM
  4. [CLOSED] Resizable & TextArea Grow="true"
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 21, 2010, 8:19 AM
  5. GridPanel Textarea Editor - Height Issue
    By Tbaseflug in forum Bugs
    Replies: 0
    Last Post: Apr 28, 2009, 4:38 PM

Posting Permissions