Panel Did Appear not getting called
cnmcgrath opened this issue · 5 comments
cnmcgrath commented
When I create a custom panel and have it as the first panel in the array, the method panelDidAppear is not called.
bobsmells commented
Yep, same here. Other panels fire ok, just not the first.
bobsmells commented
I managed to fix it by adding the following at the end of the buildScrollViewLeftToRight method.
//Trigger the panel did appear method in the delegate
if ([Panels[0] respondsToSelector:@selector(panelDidAppear)]) {
[Panels[0] panelDidAppear];
}
Seems to work ok
cnmcgrath commented
Awesome, looks like it worked for me too.
MatthewYork commented
I have formally added this fix in 2ab6e0a I will work it into a cocoa pod soon
Thanks!
bobsmells commented
No worries at all - glad to help and thanks very much for a great
component!!!
On Fri, Oct 10, 2014 at 11:18 PM, Matthew York notifications@github.com
wrote:
—
Reply to this email directly or view it on GitHub
#22 (comment)
.