tingle icon indicating copy to clipboard operation
tingle copied to clipboard

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

Open jmplummer opened this issue 5 years ago • 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?

jmplummer avatar Mar 03 '21 16:03 jmplummer

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?

robinparisi avatar Mar 13 '21 23:03 robinparisi