This is a migrated thread and some comments may be shown as answers.

Infinitely Growing ActionSheet

5 Answers 108 Views
ActionSheet
This is a migrated thread and some comments may be shown as answers.
RodEsp
Top achievements
Rank 2
RodEsp asked on 09 Aug 2012, 10:58 PM
Here's an example of what I mean. Just open and close the actionsheet several times.
http://jsfiddle.net/RodEsp/r5eCm/

As far as I can tell this behavior can go on forever. I don't know if I'm doing something wrong.

Anyways, I noticed that the issue is that the width of the .k-animation-container grows every time it is opened and closed. I think it might have something to do with the "left:" css style that also changes when the container is opened and closed.

An easy way to see this is by opening the actionsheet, right clicking on the title and inspecting the element. Then just find the div with the .k-animation-container class above actionsheet <ul>. As you open and close the sheet you'll see the width of the container grow.

It is possible to fix this by setting .k-animation-container { width:100% !important; height:100% !important; } (In non iOS platforms the height also grows). But this breaks other elements that depend on the .k-animation-container such as comboboxes.

Hope you guys can help me out with this one!

5 Answers, 1 is accepted

Sort by
0
Gabriel
Top achievements
Rank 1
answered on 10 Aug 2012, 01:32 PM
I have the same problem as rodrigo. In addition, the action sheet does not react to ios interface direction change. If the action sheet was first opened in landscape mode, it will always be too wide in portrait mode, and if it was opened first in portrait mode, it will be to narrow in portrait mode (until it has grown enough through the other problem).
0
RodEsp
Top achievements
Rank 2
answered on 29 Aug 2012, 02:27 PM
Any response?
Should I include the fix that breaks other elements (like comboboxes) in the jsfiddle above?

Hope you can get back to me!
0
Jonathan
Top achievements
Rank 1
answered on 29 Aug 2012, 05:16 PM
I would appreciate a solution to this as well.
0
Accepted
Petyo
Telerik team
answered on 31 Aug 2012, 02:59 PM
Hello,

I am glad to inform you that both issues are addressed in our latest internal build. Please give it a try. 

Rodrigo, from our records it looks like your account does not have a license for Kendo UI Mobile. I would like to remind you that Kendo UI Mobile is a commercial product, and using it without one is considered a violation of our terms and conditions. In case your company has such license, please suggest the license holder to add you as a licensed developer.

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
RodEsp
Top achievements
Rank 2
answered on 04 Sep 2012, 02:48 PM
Hi Petyo,

I am very sorry. I had not noticed my trial licence expired but that has been fixed now =)
Thanks for the notice and for fixing those issues!

-Rod
Tags
ActionSheet
Asked by
RodEsp
Top achievements
Rank 2
Answers by
Gabriel
Top achievements
Rank 1
RodEsp
Top achievements
Rank 2
Jonathan
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or