PDA

View Full Version : [OPEN] vbox layout doesn't render dynamically added resizable textarea properly.



jhrinoa
29 Aug 2015, 10:47 AM
Ext version tested:

Ext 4.2.1 rev 883
Ext 4.2.2
Browser versions tested against:

Chrome v44
DOCTYPE tested against:

Strict
Description:

When you add a textArea dynamically to a container with vbox (stretch) layout, you notice that the existing textArea doesn't get rendered properly with resizable bar.
Please note that if the textArea is not resizable, the problem doesn't happen.
Steps to reproduce the problem:

I created a very simple fiddle for reproducing this problem.
https://fiddle.sencha.com/#fiddle/t1s
Click on the "Click to Add" button.
First TextArea gets rendered properly.
Click on the "Click to Add" button again to add more TextAreas
The result that was expected:

All TextAreas get displayed properly next to each other vertically
The result that occurs instead:

As you add more than 1 TextArea, existing TextArea doesn't get rendered properly.



Note:
I tried using different ExtJS versions through SenchaFiddle.
Using ExtJS 5, 6 shows a different behaviour.
Rendering of resizable bar and height of TextArea seems proper.
But, width of TextArea seems chopped in half.

Gary Schlosberg
1 Sep 2015, 3:10 PM
Thanks for the report. Looks like this is a known issue, being tracked as EXTJS-19173. It's still unresolved at this time.