Our pure JavaScript Scheduler component


Post by dcporter »

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.

Post by pmiklashevich »

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


Post by dcporter »

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.

Post by pmiklashevich »

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

Pavlo Miklashevych
Sr. Frontend Developer


Post by dcporter »

That is a bummer. It makes the scheduler very difficult to use without zoom. Is this a high priority bug? Any ideas on when it can be resolved?

Post by pmiklashevich »

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

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply