Cannot Zoom Out of View

Ask for help related to our Calendar 1.x version
Post Reply
User avatar
sh_robert
Premium Member
Premium Member
Posts: 14
Joined: Thu Aug 17, 2017 4:30 pm

Cannot Zoom Out of View

Post by sh_robert » Thu Jun 21, 2018 10:18 pm

With Calendar 1.0.4, if a user double clicks on the time header, it zooms in the week view into a single day.

Two issues. First, I cannot disable this zoom feature via the calendar object. Second, there is no way to zoom back out of this view.

I was able to reproduce this with the demo as well.

Page in Week View Standard:
Screen Shot 2018-06-21 at 4.15.44 PM.png
Screen Shot 2018-06-21 at 4.15.44 PM.png (58.45 KiB) Viewed 2902 times
Page after double clicking header:
Screen Shot 2018-06-21 at 4.16.08 PM.png
Screen Shot 2018-06-21 at 4.16.08 PM.png (51.34 KiB) Viewed 2902 times

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 643
Joined: Fri Apr 01, 2016 11:08 am

Re: Cannot Zoom Out of View

Post by pmiklashevich » Fri Jun 22, 2018 12:20 am

Accepted! Thanks for the report! Here is the ticket to track the issue: https://app.assembla.com/spaces/bryntum/tickets/6426
Pavel Miklashevich - Core Developer

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 643
Joined: Fri Apr 01, 2016 11:08 am

Re: Cannot Zoom Out of View

Post by pmiklashevich » Tue Aug 14, 2018 2:04 pm

Working on this ticket... If you're still interested in a solution, here is a quick workaround of how to configure the Calendar to get rid of this zooming:

Code: Select all

Ext.define('Cal.examples.calendar.view.MainPanel', {
    extend   : 'Cal.panel.Calendar',
    ....
    modes : {
        day : {
            view : {
                switchToDayViewOnWeekDayHeaderDblClick : false
            }
        },
        week : {
            view : {
                switchToDayViewOnWeekDayHeaderDblClick : false
            }
        },
But please keep in mind that this is a private Scheduler flag, which means you cannot rely on its existence. The bug will be fixed in upcoming release. Sorry for delay.
Pavel Miklashevich - Core Developer

Post Reply