[go: up one dir, main page]

Skip to content

Helper icon is causing layout shifting in the Codeowners box of the Blob

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

The Codeowners information in the blob page is loaded async. To avoid Layout Shifting (contributes to CLS), the box sizes shouldn't change when the data is finally loaded.

All elements respect the container's dimensions except the question mark / helper icon:

Screen_Recording_2025-02-25_at_23.03.54

Technical details

This block is conditionally rendered in the code owner app, based on hasCodeOwners. See how to fix CLS for some ideas

Edited by Chaoyue Zhao