shaigem / BlazorPanzoom

Blazor wrapper for timmywil's panzoom library that helps make zooming and panning of Blazor components and elements easier
https://shaigem.github.io/BlazorPanzoom/
MIT License
47 stars 13 forks source link

Zooming via mouse wheel makes the page scroll as well #6

Closed shaigem closed 3 years ago

shaigem commented 3 years ago

Zooming on a component with the mouse wheel will make the page scroll as well. It should not make the page scroll.

This could have been fixed with "@onwheel:preventdefault" but it doesn't work due to this: https://github.com/dotnet/aspnetcore/issues/24932