| Page 1 of 1 | [ 3 posts ] |
|
I am subscribing to the 'selectionChange' event in my tabview by using the after method:
Code: myTabview.after('selectionChange', myFunction); Problem is, when myFunction is called, the panelNode for the tab I am switching to is still hidden! (i.e. the 'yui-tab-panel-selected' class has not yet been applied, so it is still "display: none;"); Is there some event I can listen for that fires as soon as the tab panelNode becomes visible and gets the "yui-tab-panel-selected" class applied to it? |
|
I created this ticket:
http://yuilibrary.com/projects/yui3/ticket/2532189 The workaround is to use the following construct: myTabview.after('selectionChange', function(e) { Y.later(0, null, myFunction, e); }); |
|
I was able to get the correct timing by listening to the 'selectedChange' event of the CHILD TAB instead of the PARENT TABVIEW.
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group