Dear Web Vital team staff:
Here is a suggestion by me, it's from https://github.com/GoogleChrome/web-vitals/issues/170 and I was told to send it to the email address:
Sometimes I HAVE to rearrange the DOM nodes a few seconds later after the user's input.
For instance, using HTML2Canvas to create a local screenshot but with some updates to the DOM nodes (before taking the screenshot), while the updates are affected by some network response after the user's click action.
Here are the steps:
submit
button.div#result
's height from 200px
to 500px
- Please note that the client doesn't know whether it's 500 or 600 or 700 before having the response.div#result
with HTML2Canvas.During the process, it would bring a huge CLS because the time difference between user inputs at No.1 and server result No.3 might be very long (much longer than 500ms
). And it's very unfriendly to ask the user to do some action again after No.3
So what I am doing is to put a loading modal on the screen:
However, this doesn't change the CLS penalization.
Is there any way the CLS detection could pardon this situation?
--
You received this message because you are subscribed to the Google Groups "web-vitals-feedback" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-vitals-feed...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web-vitals-feedback/d538c057-ee5f-43b3-95c3-181b299f1a16n%40googlegroups.com.