This question is locked. New answers and comments are not allowed.
I have implemented a horizontal slider listing several countries and some facts about them using the Kendo Mobile ScrollView like so:
It works, but I can swipe it vertically as well as horizontally. I only want it to slide horizontally. I have tried setting a fixed height on every element, but it doesn't seem to affect it. I compared my setup with your demo here: http://demos.telerik.com/kendo-ui/scrollview/index and
I seem to have a very similar setup, except I bind my slides using a Kendo Observable and my markup looks like this:
Can you recommend a configuration or css that will make my slider stop sliding vertically?
var
worldViewModel = kendo.observable({
countries: countriesData
});
kendo.bind($(
"#view-world"
), worldViewModel);
//bind to page
var
scrollview = $(
"#view-world-slider"
).kendoMobileScrollView();
It works, but I can swipe it vertically as well as horizontally. I only want it to slide horizontally. I have tried setting a fixed height on every element, but it doesn't seem to affect it. I compared my setup with your demo here: http://demos.telerik.com/kendo-ui/scrollview/index and
I seem to have a very similar setup, except I bind my slides using a Kendo Observable and my markup looks like this:
<
div
id
=
"view-world-slider"
class
=
"countries"
data-template
=
"world-country-template"
data-bind
=
"source:countries"
></
div
>
Can you recommend a configuration or css that will make my slider stop sliding vertically?