process-analytics / bpmn-visualization-js

A TypeScript library for visualizing process execution data on BPMN diagrams
https://process-analytics.github.io/bpmn-visualization-js/
Apache License 2.0
224 stars 31 forks source link

[BUG] Trying to zoom the BPMN diagram on webkit/safari zooms the whole page instead #1238

Closed tbouffard closed 3 years ago

tbouffard commented 3 years ago

Describe the bug When I try to zoom the diagram displayed in the bpmn container, the whole page is zoomed instead.

To Reproduce

Running locally on Ubuntu using WebKit installed by Playwright 1.10 (more details on https://playwright.dev/docs/installation#managing-browser-binaries)

run ~/.cache/ms-playwright/webkit-1446/pw_run.sh

See this video done on Ubuntu 18.04 with WebKit GTK MiniBrowser installed by Playwright.

zoom_with_webkit

Desktop:

Additional context This is not detected by automatic tests as we currently only run zoom tests on Chromium as Playwright 1.10 doesn't provide a general API for mouse wheel event.

Clarifying this issue will let us go on with #773

aibcmars commented 3 years ago

Tests with Jerome macOS: Big Sur 11.3, Safari 14.1

csouchet commented 3 years ago

On

No problem 🙂

Hnet-image

tbouffard commented 3 years ago

Working on latest Safari, so closing