bumbu/svg-pan-zoom

preventMouseEventsDefault stops working on Chrome 73

Open

#331 aperta il 20 mar 2019

Vedi su GitHub
 (6 commenti) (7 reazioni) (0 assegnatari)JavaScript (383 fork)batch import
bughelp wanted

Metriche repository

Star
 (1585 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Bug report

The option preventMouseEventsDefault disable scroll event, allowing wheel-zoom. With new Chrome 73 version: https://www.chromestatus.com/features/6662647093133312 they change to passive by default.

Expected behaviour

Zoom with mouse wheel without scrolling.

Actual behaviour

Mixed strange behaviour zoom+scroll.

Steps to reproduce the behaviour

  1. With Chrome/Chomium 73, go to demos, and open any.
  2. Resize your browser with a height < lion picture
  3. Use your mouse wheel over the picture

image

Configuration

Guida contributor