bumbu/svg-pan-zoom

preventMouseEventsDefault stops working on Chrome 73

Open

#331 建立於 2019年3月20日

在 GitHub 查看
 (6 留言) (7 反應) (0 負責人)JavaScript (383 fork)batch import
bughelp wanted

倉庫指標

Star
 (1,585 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南