Opened 13 years ago

Closed 13 years ago

#9956 closed defect (fixed)

TabContainer: Updating existing contentPanes=no right scroll

Reported by: mark007 Owned by: Shane O'Sullivan
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:



I have a problem with the new TabContainers?, maybe shane could fix it.

When I have a number of Tabs, and have the right most tab selected. If I then go and rename one of the titles of a ContentPane? with a larger than original title, all tabs scroll slightly to the right.

The problem here is, that the right arrow no longer works in this situation, so I can't see the last bit of text on my last tab. I can scroll left then scroll right and then be able to view it. You can reproduce this on this page

Scroll to and select the last tab on the first block of tabs. Now click the Rename Tab 1 button. You won't be able to see the text at the end of the last tab, and you won't be able to scroll to see it using the right scroll button either.

Its only a few letters in this example, but on the page I am developing, its a massive amount of text thats not visible, or scrollable to. I can workaround this by first scrolling left, then scrolling right.

I would have expected the tab I am on to always be shown no matter what updating of other titles is done.


Change History (4)

comment:1 Changed 13 years ago by mark007

It seems resizing tabs in any way, pushes tabs after it to the right, with the right scroll arrow not working. (ie. Toggling tab 1 closable on the test page above has the same effect as updating the title with more text).

comment:2 Changed 13 years ago by bill

Owner: set to Shane O'Sullivan

comment:3 Changed 13 years ago by Shane O'Sullivan

(In [20267]) Refs #9956 Fixes issue where, if the user has scrolled the tabs all the way to the right, then renames a tab to have a longer title, it is not possible to scroll to the right. The user had to first scroll left, then right.

comment:4 Changed 13 years ago by Shane O'Sullivan

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.