#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 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 0.3 → 0.2 |
Note: See
TracTickets for help on using
tickets.
Should be fixed after #3180.