Scroll Recognition in TabView page style

Hi there,

I’m having an issue with a NavigationStack that doesn’t update its navigation bar background to scrolling.

My code setup is a NavigationStack that directly contains a page style TabView with two different ScrollViews as tabs. I think that the problem is that the TabView prevents the NavigationStack from noticing that a ScrollView is scrolling underneath its navigation bar.

Is there any way to make this work without putting the ScrollView outside of the TabView? I don’t want to do this because they are actually two different types of ScrollView with different styling in my app. Thanks for understanding.

Any help is welcome and appreciated!

Kind regards,
Rune Pollet