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

Backbutton rendering on Android with kendo application options.platform "ios" setting

2 Answers 135 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Brandon Peterson
Top achievements
Rank 2
Brandon Peterson asked on 23 Apr 2013, 08:13 PM
The backbutton widget for Kendo Mobile version 2013.1.319 renders poorly on Android mobile browsers and PhoneGap webviews (borders extend beyond left arrow) when the platform is forced as iOS.

var app = new kendo.mobile.Application(document.body, { transition: "slide:left", platform: "ios"});

Are there any .km-ios6 .km-back css overrides that will fix this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 25 Apr 2013, 08:59 AM
Hi Brandon,

This seems to happen in Android 4.0 only, due to an overflow bug. Since there is no workaround, you can use this CSS to remove the arrow part of the button in Android:
.km-ios.km-on-android .km-back
{
    -webkit-mask-image: none;
    padding-left: .8em;
    margin-left: 0;
}

.km-ios.km-on-android .km-back:after
{
    display: none;
}


Greetings,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brandon Peterson
Top achievements
Rank 2
answered on 01 May 2013, 01:13 AM
Kamen, thanks much for the style fix. The back button looks much better. You are a CSS pimp!

Tags
Button (Mobile)
Asked by
Brandon Peterson
Top achievements
Rank 2
Answers by
Kamen Bundev
Telerik team
Brandon Peterson
Top achievements
Rank 2
Share this question
or