Background:
I have a responsive website where a kendo menu and responsive panel are used to create a responsive menu. All links visible when on a large screen, but it collapses to an expandable menu when on smaller devices).
Examples:
http://demos.telerik.com/kendo-ui/responsive-panel/index
http://docs.telerik.com/kendo-ui/api/javascript/ui/responsivepanel
Issue:
This works beautify on every single device/browser with the exception of safari (testing on an ipad). When hitting the menu button, the menu will appear for a split second then close right away.
I found that it works fine in safari ONLY for pages WITHOUT images (yes, you read that right - i remove all <img> tags and it works fine). I searched ever CSS file, inspected the elements in chrome, and i don't see any unusual styles being applied to images. What could possibly be clashing in safari to cause this?? Any insight is appreciated!
This code was plucked from a previous developer online (i remember seeing it but can't find the link again):
01.
<
button
id
=
"mobilemenu"
class
=
"k-rpanel-toggle k-button btn-toggle"
>
02.
<
span
class
=
"k-icon k-i-hbars"
></
span
>
03.
</
button
>
04.
05.
<
div
id
=
"responsive-panel"
>
06.
07.
<
ul
id
=
"menu"
class
=
""
>
08.
<
li
>Home</
li
>
09.
<
li
>Link2</
li
>
10.
<
li
>Link3</
li
>
11.
<
li
>Link4</
li
>
12.
<
li
>Link5</
li
>
13.
<
li
>Link6</
li
>
14.
</
ul
>
15.
</
div
>
16.
17.
<
script
>
18.
$(function(){
19.
$("#menu").kendoMenu({
20.
select: onMeunSelect
21.
});
22.
23.
24.
$("#responsive-panel").kendoResponsivePanel({
25.
breakpoint: 992,
26.
autoClose: false,
27.
orientation: "top"
28.
});
29.
});
30.
</
script
>