patternfly-org icon indicating copy to clipboard operation
patternfly-org copied to clipboard

Add a page-loaded class to all org pages (not just full-page examples)

Open srambach opened this issue 6 months ago • 0 comments
trafficstars

Currently, a page-loaded class is added to full-page examples, but not to all pages on the PatternFly org site. For consistency and to enable styling or scripting that depends on page load state, add the page-loaded class to the body (or appropriate container) on all org pages after they finish loading. Note: this should probably be a pf- class now.

This will provide an indication that the page has loaded so that animations/transitions can use the no-motion durations and prevent the appearance of animations happening while the page is loading.

Reference: The implementation already exists for full-page examples.

srambach avatar May 13 '25 19:05 srambach