Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#369 closed defect (fixed)

TabPane firing show/hide several times during selection action

Reported by: Tom Trenka Owned by: alex
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description

If you try to attach an event to a Tab widget, like so:

var tab=someTabWidget; dojo.event.connect(tab, "show", myObj, "myHandler");

it looks like show is fired on widget render, on widget resize (my fault, I know), and on *any* tab widget select, even if the tab selected is not the tab the event is attached to.

It would seem like good idea to either fire tab.show() only when that actual tab is shown, or provide a place for people to attach event handlers for when the tab is actually selected, either via UI event or programmatically.

(Alex, please reassign as necessary, thanks--trt)

Change History (2)

comment:1 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed
Version: 0.30.2

Should be fixed after #3180.

comment:2 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.