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
44 stars 12 forks source link

_underlyingPanzoomInterop null-check on dispose #12

Closed BenediktWiese closed 2 years ago

BenediktWiese commented 2 years ago

I used the component in combination with tabs and experienced that DisposeAsync could be called before OnAfterRenderAsync when rapidly switching between tabs, which led to a crash of the site.

shaigem commented 2 years ago

Awesome thank you for this. I should have been more careful since it is nullable.

jairbubbles commented 1 year ago

Hey! I'm hit by the same issue. It looks like there is no new release with this fix:

image

PmE8HW0KRfqa commented 5 months ago

@shaigem any chance you'll release a new version of this library? This bug was patched two years ago but it hasn't been released ;(

Edit: It was able to easily clone the source from GH, build the project, and reference BlazorPanZoom from my blazor project (without the nuget reference). It works without throwing the error!

SABogdan commented 1 month ago

@shaigem any chance you'll release a new version of this library? This bug was patched two years ago but it hasn't been released ;(

Edit: It was able to easily clone the source from GH, build the project, and reference BlazorPanZoom from my blazor project (without the nuget reference). It works without throwing the error!

I guess you used the branch feat/panzoom-4.5.1 ?