Skip to content

Eliminate Cumulative Layout Shift (CLS) on home page #7257

@leecalcote

Description

@leecalcote

Current Behavior

The attached screenshot has an example of unwanted behavior in which content is displayed to halfway while it is only partially rendered.

Desired Situation

Ideally content is fully rented before is displayed so as to avoid a negative CLS effect. Appropriately sized placeholders can be used as one of the techniques to prevent unwanted shifting.

Screenshot

Image

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions