-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
Description
I am not sure if this is MAUI or Blazor problem.
We use MAUI Hybrid and the whole UI is written in Blazor.
We stubbed upon a problem with animations. When we want to animate Drawer component to show from side, the 1st load with the animation is really laggy.
We experience this problem especially on android (we tested also iOS but there it is really minimal). But not on windows (maybe because of my HW - i9-13900k, 32GB RAM)
I went through performance best practices of Blazor and tried many of them but without any luck.
I suspect that the one-thread model of Blazor causes this. First time render fragments are rendered it will lag the animation and after that they are somehow cached and this problem doesnt show up again. But thats just my guess
Screen_Recording_20240322-110327.mp4
Steps to Reproduce
- download
DrawerTestrepo - run it on your android
- observe that the 1st load of the Drawer is more laggy then other loads (this lag can be increased by the amount of component items in the Drawer Content - virtualization doesnt help)
Link to public reproduction project repository
https://github.com/Kebechet/DrawerTest
Version with bug
8.0.6 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 10, Android 14
Did you find any workaround?
no
Relevant log output
No response