-
21 Jul 2011 2:53 PM #1
Focus gets messed up when destroying a floating panel. requires double click after
Focus gets messed up when destroying a floating panel. requires double click after
When you destroy a floating panel it does not pass focus back to the underlying panel that launched it.
After the floating panel is destroyed the first click puts focus on the underlying panel and then the second click is handled properly.
It means it takes 2 clicks to to do anything after destroying a floating panel. I am launching floating panels from list and nestedlist. Both situations exhibit this problem.
The work around is to hide the floating panel before its destroyed.
This is how the action sheets accomplish this task without having the double click issue.
This is the workaround. Add the following to your floating panels:
Code:... beforeDestroy : function() { this.hide(false); YourNameSpaceHere.views.YourClassNameHere.superclass.beforeDestroy.call(this); }, cancel : function () { // This is the cancel button in the toolbar that destroys the floating panel this.destroy(); }, ...
-
29 Jul 2011 12:12 AM #2
thanks
thanks
Thanks pal that helped me very much.I was nearly loosing my mind because of this double click problem.

Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote