Our pure JavaScript Scheduler component


Post by calendardeveloper »

Is there a reason pinch zoom is not working on iOS Safafri? I dno't want to zoom in the time axis (controlled by zoomOnMouseWheel) - I just want to use the standard pinch/zoom in Safari on the iPhone. Looks like the event is disabled, maybe? Any ideas what might be going on?


Post by Animal »

Yes, we added a conversion of two finger pinch to an injected CTRL/mousewheel event. Scheduler, Gantt and Calendar DayView all zoom on CTRL/mousewheel.

I'll think about a way to make this opt-outable. In the meantime, using three fingers will still produce a pinch-zoom on iOS.


Post by calendardeveloper »

Ah, ok. Glad I asked the question here as I was banging my head on why it's not working!!!

How quickly can this be made configurable?


Post by Animal »

Not sure, but here's the ticket: https://github.com/bryntum/support/issues/8375


Post by calendardeveloper »

Hi, thanks for doing this. I can now pinch zoom on any area outside the scheduler. But within the scheduler rows/columns, I still can't pinch zoom. Any ideas why?


Post by calendardeveloper »

Any updates here please?


Post by marcio »

Hey calendardeveloper,

Sorry for the late reply. Are you able to share a screen recording or some instructions on how to reproduce the behavior that you're describing?

Best regards,
Márcio


Post by calendardeveloper »

e.g. on your iPhone, go to this example https://www.bryntum.com/products/scheduler/examples/bigdataset/

now try to pinch zoom on the top bar, where the title is (Big data set demo), the zooming will work.

now try to do the same within the scheduler rows (you won't be able to)


Post by Animal »

It's converted to a sequence of CTRL+wheel events so that our existing zooming works. There is a global opt-out config in the Widget class: https://www.bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-convertPinchToMousewheel-static


Post by calendardeveloper »

I tried setting this property on the scheduler config and it made no difference, unfortunately. Is there an example of this somewhere please?


Post Reply