When using ScreenScaffold with edgeButton on first...
# compose-wear
t
When using ScreenScaffold with edgeButton on first display of the edge button there a big jump and lag (Worse than what seen in the video). Is this known and due to TLC ? From debug the intrinsicButtonHeight is properly set on first frame so not delayed.
y
I can't provide any info. But for context - Is this release build on device?
t
No debug on ultra fast emulator. Does not happen on any later fastscroll, just the first display. The scrollindicator clearly stops before the display then jump. I suspected it was the measurement of the button but it's properly done at start. Can't figureout what calculation / stuff is delayed 😞
Probably not an huge deal on prod on device but I like perfection 🙂
1
y
Ooofff. Surprised it's happening on emulator.
t
And yes something on first display. I can scroll to near the button, then fastscroll and the jump is there too.
y
Definitely if its happening on devices on release builds raise a bug. There should be baseline profiles for key components built in
t
Adding a fake button at top to preload the edgebutton code seems to fix. So yes maybe the edge button is a really huge component. Will test thanks.
y
If you've got a simple repro, feel free to raise. But if it's either emulator or debug, I'm doubting it gets much attention.
👍 1
t
Happens on release build on Pixel Watch 2 too, but only on the very first run after install. The aab does embed a baseline.
👍🏻 1
👍 1