Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-6268

Choppy fade-in animation of cookie notice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Should have Should have
    • None
    • None
    • Block: Cookies, Performance

      Lighthouse is flagging the cookie notice bar because it doesn't uses a "non-composited animation".

      This lowers our Lighthouse score through CLS on every page, though probably not that much. Could be this is a false flag, or the impact is too small to measure.

      Maybe we can avoid this using one of the tips in the linked article. Maybe it's not worth the effort if we expect to rewrite the cookie bar soon.

      I used 6x CPU throttling to make sure the choppiness is visible in the video, but even without throttling it's noticeable for me. Included a video without throttling, but it's harder to see.

        1. cookie-fadein-6x-cpu-slowdown.webm
          3.70 MB
          Pieter Vincent
        2. cookie-fadein-no-cpu-slowdown.webm
          6.00 MB
          Pieter Vincent

            Unassigned Unassigned
            pvincent Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: