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

DropDownList on iOS

3 Answers 153 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 22 Sep 2014, 11:05 AM
Hi,
I have just started developing a hybrid app and i'm having a problem with dropdownlists on the iOS platform. When the dropdown is selected the options appear at the bottom of screen.
Does anyone have some instructions on how to get the options to appear under the dropdown?

Thanks Chris

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 24 Sep 2014, 01:58 PM
Hello Chris,

In general such functionality is not supported for mobile application, but here is a workaround that might do the trick:

http://dojo.telerik.com/AYUtI/3

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Brian
Top achievements
Rank 1
answered on 24 Feb 2015, 04:15 PM
Hi Kiril,
I have just started using Kendo UI to write an app for the iPad and I have come across this issue too.  If I use a drop down combo it looks normal, as I want, but if I use a drop down list the drop list fills the screen!  That might be good on a phone in portrait mode, but it doesn''t look good on an iPad in landscape mode, and doesn't fit with how I want the app to look.
The workaround you posted seems to require a fixed height div, is that really what's needed to make this work?  I want my app to be responsive and size to fit the screen, so this sounds problematic.  Surely there must be a setting for the control to tell it to work as a normal drop down list?
Thanks,
Brian
0
Kiril Nikolov
Telerik team
answered on 27 Feb 2015, 08:48 AM

Hello Brian,

 

I am afraid that there is no such setting that you can switch to turn on/off the functionality based on the screen orientation. And as I said in my previous response this is unsupported functionality and the posted solution is a workaround not an official support suggestion - and yes it requires some custom CSS rules. I am afraid that currently there is no other solution. You can submit this as a feature request on UserVoice, so we can consider it for a future implementation.

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Chris
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Brian
Top achievements
Rank 1
Share this question
or