robinparisi/tingle

Modal destroys CLS (Cumulative Layout Shift) based on where the user is on page when opened.

jmplummer opened this issue · 1 comments

Has anyone else noticed that tingle causes drastic changes in CLS if scrolled further down the page and it puts top: -8000px for example on the <body> tag?

Any idea how to fix this using this plugin?

Hi,

I am not sure that CLS applies here since this metric measures the stability of the layout, so the opposite of the principle of a modal.

Maybe I'm missing something, could you share more informations about your measure and use case?