BlazorPanzoom
BlazorPanzoom copied to clipboard
NullRef Exception
<Panzoom WheelMode="WheelMode.ZoomWithWheel" PanzoomOptions="@(new PanzoomOptions(){Canvas = true})"> <div style="height: 100vh;"> <img @ref="@context.ElementReference" src="test.bmp" style="width: 100%; height: auto;" /> </div> </Panzoom>
I am using .NET 6 blazor Server project. Why is that happening?
Can you explain more what you were doing when this exception occurred? Like were you switching between tabs? If this is related to PR #12, this issue will be fixed in the next release