1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    2
    Vote Rating
    0
    simon_price is on a distinguished road

      0  

    Default TreePanel: horizontal scroll while dragging long lines

    TreePanel: horizontal scroll while dragging long lines


    When you drag a text line that is wider than the panel window, the panel scrolls to the extreme right position, which makes it impossible to see the drop target nodes (which have now scrolled off the left of the screen).

    Adding horizontal scrolling, like the vertical scrolling, while dragging would be one solution. A simpler one (for the user) would be to suppress the scroll right as you pick up a long line.

    Workaround: ensure shorter lines or a wider panel.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    I just looked at it and this is going to be interesting.

    The problem is that when you click on the anchor in the tree node, the anchor focuses (this is by the browser). Focusing the anchor causes it to scroll entirely into to view (or at least it tries to). This happens before the drag and drop operation is in play (try clicking a long link without dragging). The focus is needed, but I may be able to find a workaround for the scroll.

    You should still be able to drag. It does support horizontal scrolling, just get close to the left/right edge. If you are very close to the bottom vertical scrolling takes over and horizontal scrolling is cancelled.

Similar Threads

  1. Possible bug - Horizontal scroll bar missing on IE 6.0
    By adb8640 in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 27 Mar 2007, 3:06 PM
  2. Expand Grid Lines to Detail More
    By domluc in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 27 Mar 2007, 11:03 AM
  3. Grid in LayoutDialog - horizontal scroll bar not appearing..
    By moktc in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 20 Mar 2007, 10:02 PM
  4. Duplicate lines 53 & 65 in layout.css
    By jarrod in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 27 Nov 2006, 5:04 AM
  5. Horizontal scroll in grid
    By techno_adi in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 16 Oct 2006, 6:25 AM

Thread Participants: 1