Opened 12 years ago
Closed 12 years ago
#8787 closed enhancement (fixed)
AccordionContainer no onHide function called on children
Reported by: | jfcunat | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit | Version: | 1.3.0b2 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
When you change of pane in a AccordionContainer?, there is a call to show the new child but no call to hide the old one.
In the overriden function _transition of the AccordionContainer?, only the _showChild is called (and the onShow method on the child if it exists). The _hideChild is not called (and not the onHide of the child). Is there any reason ? In the ancestor this method _hideChild is called.
We rely on this method to deactivate some features of our components when they are hidden in a layout widget.
I give a patch to add the call in the OnEnd? of the animation of onHide if the widget has this function
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | AccordionContainer.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | set to Adam Peller |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [16875]) Fixes overlapping accordion transitions, call onHide. Thanks jfcunat for the great patch! Fixes #8788, #8787.