Automattic / Automattic/jetpack

Slideshows: FOUC when slideshow library has not loaded yet.

Open
#9,506 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Shortcodes / Embeds [Pri] Low Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce

1. Create a slideshow image gallery on a page
2. Load the page
3. See the error "This slideshow requires a Javascript" flash before your eyes, then disappear as the slideshow loads

#### What I expected

- No error message, just a slideshow

#### What happened instead

- The error message appears, then a slideshow

#### Additional Info

- You can see the action happen here in this GIF https://cloudup.com/cCFVMuWz1gg

- I've tested this with both Twenty Seventeen and Twenty Twelve to eliminate theme issues as well as Corporate. It happens on both a Simple and Atomic sites on WordPress.com.

- Reported by a user in #3280394-HC

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the flash using the listed slideshow gallery steps, then trace how the slideshow library and its fallback message are loaded; done means the message never appears while the slideshow still initializes in the tested themes and site types.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.