Opened 12 years ago

Last modified 12 years ago

#10846 closed defect

[regression] TabContainer: menu click selects tab but doesn't update content — at Version 2

Reported by: waliays Owned by: bill
Priority: high Milestone: 1.4.3
Component: Dijit Version: 1.4.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

version 1.4.2 example attached

dijit.layout.TabContainer with more tabs than visible at one time shows a select-tab-dropdown, selecting a tab highlights the correct tab's handle and scrolls it into the visible area but the content of the tab stays the beforehand seleted tab's one;

a click on the already selected tab's handle updates the content; can certainly be done with an event handler, but I think that behaviour is not intended;

tested with Firefox 3.5.8 and Konqueror 4.3.2 on Linux

Change History (3)

Changed 12 years ago by waliays

Attachment: x4.html added

demo html

comment:1 Changed 12 years ago by bill

Milestone: tbd1.5
Owner: set to bill
Status: newassigned
Summary: tab selector selects tab but doesn't update content[regression] tab selector selects tab but doesn't update content
Version: 1.4.01.4.2

Ugh, looks like a regression between 1.4.1 and 1.4.2, probably from #10727.

It happens in test_TabContainer.html.

Thanks for the heads up.

comment:2 Changed 12 years ago by bill

Description: modified (diff)
Summary: [regression] tab selector selects tab but doesn't update content[regression] TabContainer: menu click selects tab but doesn't update content

Yes, it's from #10727, rev [21355]. Maybe we should have a 1.4.3 release to fix this. Anyway, I'll check in a fix to the 1.4/ branch and to trunk.

Note: See TracTickets for help on using tickets.