Hey guys, does anyone have a similar issue or it's...
# compose
h
Hey guys, does anyone have a similar issue or it's already reported? When using TopAppBar M3 with pinnedScrollBehavior When portrait mode the bar doesn't change color because the content can't be scrolled (not enough items to fill the screen), but if I rotate to landscape and scroll down it does change the bar color as it should, now if I rotate back to portrait the bar has the same color from the landscape rotation even tho it should not.
yes black 1
s
Yep. And if you do the scrolling gesture, even though the content is no longer scrollable, the color still goes away, try it out it should work for you too.
Haven’t found a way to fix it, I’ve just accepted the L for now 🤕
I haven’t made an issue about it though because I thought it was probably something I was doing wrong and never looked into it further. If you make one I’d love to +1 it.
h
Yep. And if you do the scrolling gesture, even though the content is no longer scrollable, the color still goes away, try it out it should work for you too.
Yeap noticed that too 😂 I'll create an issue
thank you color 1
l
Yeah please file, this sounds like a bug
s
Here’s a video of this happening btw. And here’s this screen, which uses this custom Scaffold which is here. A pretty straightforward case of hooking up the nested scroll behavior + verticalScroll
I can put this in the issue too if you make it Hristijan. Or I can make the issue myself if you’re busy now that I know it’s not me doing something wrong 😅
h
@Stylianos Gakis I'm about to drive now, either I'll do it later today or tomorrow, if you have time please open up the issue, I'll add my sample code too
🆗 1
s
h
Added my sample too and +1
🦜 1