Hey @Rodrigo,
I feel like I'm failing to explain correctly. While I completely understand that this is the correct functionality of FLIP, I feel like it could be enhanced by allowing to do it's calculations relative to the viewport and not the document. This is immensely helpful when, like in my example, you are clicking from a link to a page, this link could be anywhere on the page but the page it navigates to the image may cover the full screen. It allows for a smooth transition between pages.
This seems to be FOUC (Flash Of Unstyled Content):
https://gsap.com/resources/fouc/
Maybe you could set the visibility to hidden and before animating the Flip instance you can set the visibility back to visible:
Not so much something different, by making the calculations relative to the viewport within GSAP, you don't have to manipulate the DOM directly before the calculations which will means the FOUC will never be an issue.
Something like `{ includeScroll: false }` for when you are wanting to do an effect like this.
EDIT:
https://stackblitz.com/edit/nuxt-starter-sa9nzp?file=pages%2Findex.vue
Maybe this is better explained by showing how it's fixed, so setting y and removing the scroll position allows for a smoother animation, however, here you are directly manipulating the DOM element, which means if there is a delay in the next page loading, the element will disappear off screen as you are setting the 'y' to allow for FLIP to do calculations. By allowing this as a flag to remove scroll position from it's calculations, you don't need to directly manipulate the DOM element meaning FOUC would not be an issue.