Changes between Initial Version and Version 1 of Ticket #15864


Ignore:
Timestamp:
Aug 18, 2012, 12:04:31 PM (8 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15864 – Description

    initial v1  
    11!ExpandingTextAreaMixin.js does resizing from postCreate(), but the widget may not be attached to the DOM at that point.   It should be from startup().
    22
    3 Admittedly often the widget is attached to the DOM in postCreate(), and it's almost always attached to the DOM after a setTimeout(..., 0), this is not guaranteed.
     3Admittedly often the widget is attached to the DOM in postCreate(), and it's almost always attached to the DOM after a setTimeout(..., 0), but this is not guaranteed.
    44
    5 Also,  the _resizeLater() method (rather than just calling resize()) may be unnecessary after moving the resize calls.
     5Also,  having a _resizeLater() method (rather than just calling resize()) may be unnecessary after moving the resize calls to startup().
    66
    7 Attaching patch to move the calls, plus to use on() rather than this.connect(), since the latter will probably go away for 2.0.
     7Attaching patch to move the resize() calls, plus to use on() rather than this.connect(), since the latter will probably go away for 2.0.