anmcgrath / BlazorDatasheet

Simple excel-like datasheet Blazor component
MIT License
164 stars 40 forks source link

Issue when the NuGet package was updated from 0.2.1 to 0.3.0 (BlazorDatasheet.Menu.SheetMenuTarget) #93

Closed lucasmoraiss closed 3 months ago

lucasmoraiss commented 3 months ago

image

I'm mainly using the Object Editor and it is a very simple example, I just updated the package to the new release and fixed the compiler errors, such as SetWidth -> SetSize, InsertRowAt -> InsertAt and others, then I noticed that all my pages that were using the Datasheet or the Sheet component were not loading, throwing an error on the console related to SheetMenuTarget, it looked like I was forgetting to import some JS or something else, that's just my guess, since I didn't see any changes on the READ.ME.

I also tried the simplest possible example (SimpleExample.razor) and I encountered the same error When I run the 0.2.1 version everything goes well btw

ADefWebserver commented 3 months ago

Are you using WASM or Blazor Server?

lucasmoraiss commented 3 months ago

by the time I'm using only Blazor Server, I haven't tested on WebAssembly yet.

ADefWebserver commented 3 months ago

Perhaps related to this: https://github.com/anmcgrath/BlazorDatasheet/issues/91

lucasmoraiss commented 3 months ago

I reckon you're right. Is there a way I can fix this or I just need to wait on a new release?

ADefWebserver commented 3 months ago

I would roll back to the previous NuGet and wait for a new release.

lucasmoraiss commented 3 months ago

Already fixed, but not on the newest release.

anmcgrath commented 3 months ago

Hi @lucasmoraiss 0.3.0.1 should be up on nuget now with the fix.