When I set workingHours on the scheduler, the zoomIn() and zoomOut() functions seem to break. They will work for the first couple calls, but eventually just stop working and/or zooms to a random wrong part of the scheduler. There are no error messages.
I've narrowed it down to it being something to do with setting workingHours. When workingHours are not set, it works fine.
Support Forum
Do you mean workingTime? Please provide detailed instructions of how we can reproduce your issue with one of our samples. Please note in Working Time demo, zooming controls are disabled, though it's possible to call `scheduler.zoomIn()` in console.
Pavlo Miklashevych
Sr. Frontend Developer
Sorry, yes I meant workingTime. I just recreated in your example:
1) Change zoomOnMouseWheel to true.
2) Zoom all the way in with mouseWheel, then zoom all the way out.
3) You'll see that the farthest you can zoom out becomes day/hour, even though more zoom levels are available.
4) Change workingTime to null
5) You'll see that zoom works as expected.
1) Change zoomOnMouseWheel to true.
2) Zoom all the way in with mouseWheel, then zoom all the way out.
3) You'll see that the farthest you can zoom out becomes day/hour, even though more zoom levels are available.
4) Change workingTime to null
5) You'll see that zoom works as expected.
Hello,
Zooming is not supported when workingTime is enabled. I've updated docs and added a comment in the demo. Also created a feature request. So when zooming feature is well-tested against workingTime feature, it will be officially supported. Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8791-add-zooming-support-when-workingtime-feature-is-enabled/details
Thanks for your feedback!
Cheers,
Pavel
Zooming is not supported when workingTime is enabled. I've updated docs and added a comment in the demo. Also created a feature request. So when zooming feature is well-tested against workingTime feature, it will be officially supported. Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8791-add-zooming-support-when-workingtime-feature-is-enabled/details
Thanks for your feedback!
Cheers,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer
workingTime feature was developed by request for a certain user. It happened that zooming was not that critical for them, so we added the workingTime feature without testing zoom carefully. So since zooming and workingTime features are not supported to be used together, you need to decide what you need the most. If zooming is critical for you, please turn off workingTime for now. The ticket is not the high prio for us at the moment, I'm afraid. If you need it urgently we offer feature sponsorship. Please see this page for reference: https://www.bryntum.com/services/ If you're interested, please contact us here: https://www.bryntum.com/contact/
Best wishes,
Pavel
Best wishes,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer