Scrolling in mobile does not work properly?

2 posts, 0 answers
  1. Aron
    Aron avatar
    13 posts
    Member since:
    Apr 2015

    Posted 30 Nov 2015 Link to this post

     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.

    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))





  2. Georgi Krustev
    Georgi Krustev avatar
    3687 posts

    Posted 02 Dec 2015 Link to this post

    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.

    Georgi Krustev
    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
  3. UI for ASP.NET AJAX banner
Back to Top