Opened 4 years ago

Closed 4 years ago

#18695 closed defect (invalid)

Tree: TreeNode focus scrolls tree horizontally (IE, Edge)

Reported by: chensw Owned by: chensw
Priority: undecided Milestone: 1.11
Component: Dijit Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

The fix for #17765 only fixed the case that the horizontal scroll bar is generated by the <div class="dijitTree"> element.

However, while the 'overflow: hidden;' css value is set to the outer wrapped div, click to expand the treeNode(with label longer than the div with) would lose focus and scroll to right on IE.

Please see the attachments to compare the different behaviors while apply the CSS attribute to different div elements.

##working## .dijitTree{

overflow: auto;

}

##not working## .treeWrap{

overflow: auto;

}

Attachments (2)

ie-10-11-tree_dojo1_10_work.html (2.9 KB) - added by chensw 4 years ago.
ie-10-11-tree_dojo1_10_not_work.html (2.9 KB) - added by chensw 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by chensw

Changed 4 years ago by chensw

comment:1 Changed 4 years ago by dylan

Milestone: tbd1.11

comment:2 Changed 4 years ago by bill

Summary: dijit/Tree - TreeNode focus move on IE with horizontal scroll barTree: TreeNode focus scrolls tree horizontally (IE, Edge)

Happens on Edge too, updating summary.

comment:3 Changed 4 years ago by bill

Owner: changed from bill to chensw
Status: newpending

That's true, if you put the overflow:auto on an ancestor <div> (presumably not just the parent but any ancestor), then you hit the same problem. I don't know how to fix it for this general case. Do you have a suggestion?

comment:4 Changed 4 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.