MASA.Blazor icon indicating copy to clipboard operation
MASA.Blazor copied to clipboard

[Feature Request] Menu: move the logic for updating position to JS

Open capdiem opened this issue 1 year ago • 1 comments

Proposal and motivation

When the MMenu component is set to ScrollStrategy as Reposition, frequently rendering the latest UI on the Blazor side during scrolling can be costly, and the UI may experience lag.

Additional context

No response

capdiem avatar Dec 19 '24 08:12 capdiem

There is a conflict between the timing of setting styles for transition animations and the timing for updating the menu position styles when latency is high. It doesn't look like we can solve this right now, so let's wait for v2. The development branch is feature/menu-position-refactor.

capdiem avatar Feb 08 '25 01:02 capdiem