Hi, thank you very mutch for your help.
Yes, like Jack your answare help me to understading the way ScrollTrigger work.
It's really cool, thank you.
What I mean (sorry for my weak english), is to make #nav follow the window resizing move while resizing. Now it move after stop resizing.
When I use onUpdate for removing #nav css top, it do the trick after we return back to the first position, witch is not the case with the onLeaveBack method (I don't know why).
For reproducing the differences :
01. Before scrolling, I resize the window vertically : #nav follows #intro's height
02. After scrolling, come back to initial position : #nav follows #intro's height (in my first example it doesn't)
03. After scrolling, #nav between start position and end position : #nav doesn't follows #intro's height until Istop resizing the window.
I'm trying to make the #nav follow the movement of the resizing whil we do it.
Thanks for your help !