We would like an event that we can listen to for when the drawer has completely finished opening.
Posted on:12 Jun 2014 03:08
I recall having replied to this, however, I cannot see the reply.
We show an interactive map in the drawer. This map can only render correctly when the div is visible. Without the "afterShow" event we are guessing how long it takes for the drawer to slide out. On different devices this is different. If we are too optimistic, the drawer slide freezes as it has started to try to render a complex DOM element whilst sliding the content in to view. It can pause for a number of seconds on some devices, causing the user to try and slide the drawer out again and again.
Posted on:14 Apr 2014 01:01
Thanks for the response. We have some widgets in the drawer that have heavy UI processing - as a result of starting to render this whilst the drawer is opening the drawer visual slide out is delayed a few seconds and the natural reaction of the user is to try opening it again. We basically would like a defined way to delay some code until the drawer is fully open. In our scenario we may hide the heavy elements on beforeshow and then show and let the browser render then on aftershow. thanks.
Posted on:11 Apr 2014 12:46
Thank you for the suggestion.
Can you explain what such an event would provide in addition to what's possible when wiring the show event (http://docs.telerik.com/kendo-ui/api/mobile/drawer#events-show) of the drawer?
This will help me better understand your request.