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

Scrolling in mobile does not work properly?

1 Answer 213 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Aron
Top achievements
Rank 1
Aron asked on 30 Nov 2015, 09:55 AM

 I'm having some issues when it comes to scrolling the scheduler vertically in mobile when using the Mobile(MobileMode.-tablet/phone etc-).

The scheduler seems to be overriding something in the mobile browser (android, chrome) causing the scrolling to not work. I've pasted a snippet below. Scrolling works when the mobile mode is off, but if the mobile mode is off i can't create any events due to the mobile not having "double"-clicks.

01.@(Html.Kendo().Scheduler<CalendarModel>().Name("scheduler")
02.    .Date(DateTime.Today)
03.    .StartTime(DateTime.Today.AddHours(8))
04.    .EndTime(DateTime.Today.AddHours(20))
05.    .WorkDayStart(DateTime.Today.AddHours(8))
06.    .WorkDayEnd(DateTime.Today.AddHours(20)).AllDaySlot(false)
07.    .Min(DateTime.Today).Selectable(false)
08.    .Events(e =>
09.    {
10.        e.DataBinding("data_binding");
11.        e.Add("scheduler_add");
12.        e.Save("scheduler_save");
13.    })
14.    .Views(views =>
15.    {
16.        views.DayView();
17.        views.WeekView();
18.        views.MonthView();
19.        views.AgendaView();
20.    }).Editable(e => e.TemplateId("customEditorTemplate").Move(false).Create(true).Resize(false).Update(false).Destroy(false)).BindTo(Model).DataSource(d => d.Model(m =>
21.    {
22.        m.Id(f => f.Id);
23.        m.Field(f => f.Title).DefaultValue("No title");
24.        m.Field(f => f.RoomId);
25.        m.Field(f => f.ErrorMessage);
26.    })
27.    .Create("Create", "CreateEvent")
28.    ).Mobile(MobileMode.Auto))

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Dec 2015, 08:17 AM
Hello Aron,

In general, the concrete mobile mode can be used to force a mobile layout and behavior. If the mode is tablet/phone, then the scheduler is instructed that it will be used only on mobile device, hence double-clicks will not work and this is expected. If you would like to use the widget in different environments, like desktop and mobile, then set the mode to Auto.

As to the scrolling issue, I could not replicate the issue. Loading this demo in a mobile device does not expose any of the depicted issues: The views scroll as expected on mobile device.

Regards,
Georgi Krustev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Scheduler
Asked by
Aron
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or