Weird display issue with a List ScrollView and a TabView

Hello everyone, I encounter a very strange problem. I explain to you.

I have a navbar that can fold and unfold depending on the position of the scroll on the page.

My problem is when the navbar is unfolded and I reassemble my page, my ScrollView, bug completely, you have to see the video to understand. There's like a tremor in an overlay of my navbar and my scrollview.

The video of the bug : https://youtube.com/shorts/LF0ZfwtiiNI?feature=share

After doing several searches I realized that what caused all this was only:

.tabViewStyle(PageTabViewStyle(indexDisplayMode: .never))

Without this line everything works fine. But there is no longer the PageTabViewStyle effect. Do you know a solution because the problem is very strange... I am totally stuck.

The whole project is here if you want to try: https://github.com/gwentey/2023-perso-learnIO-swift/

thanks in advance to all !

Weird display issue with a List ScrollView and a TabView
 
 
Q