You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a fixed iframe that is being resized with an element with it that has also a fixed positioning to stick it to the right edge.
The border has been added on the outer element to visualize what is changing (the fixed container of the iframe on the page).
What is the current behavior?
CLS is being reported.
What is the expected behavior?
No CLS should be reported here - there is no visual effect for the user.
I understand that the use case here is very specific, but it shows that the current heuristics do not account for more complex scenarios. It's not sufficient to compute the layout shift of the element in relation to its viewport - the computation should account for nested frames.
The text was updated successfully, but these errors were encountered:
Provide the steps to reproduce
Create a fixed iframe that is being resized with an element with it that has also a fixed positioning to stick it to the right edge.
The border has been added on the outer element to visualize what is changing (the fixed container of the iframe on the page).
What is the current behavior?
CLS is being reported.
What is the expected behavior?
No CLS should be reported here - there is no visual effect for the user.
I understand that the use case here is very specific, but it shows that the current heuristics do not account for more complex scenarios. It's not sufficient to compute the layout shift of the element in relation to its viewport - the computation should account for nested frames.
The text was updated successfully, but these errors were encountered: