Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slideshow: Media Modal Issues #30786

Merged
merged 3 commits into from
Feb 15, 2019
Merged

Slideshow: Media Modal Issues #30786

merged 3 commits into from
Feb 15, 2019

Conversation

jeffersonrabb
Copy link
Contributor

Changes proposed in this Pull Request

This PR addresses a few bugs and imperfections related to adding/reordering/deleting images from the gallery using the Media Modal.

  1. Fixes an issue that caused the slideshow to jump one slide forward after changes to the Transition Effect or Autoplay settings.
  2. Rebuilds the Swiper instance after any change to the images array, which should fix some inconsistencies after images are added, deleted, or reordered.

Side note about a related issue in Core: as part of this round of work I also investigated some Media Modal issues, which seem to be a Core problem that is equally affecting Gallery and Tiled Gallery:

#28959
https://github.com/Automattic/wp-calypso/issues/30065

And the upcoming resolution:
WordPress/gutenberg#12435

Testing instructions

@jeffersonrabb jeffersonrabb self-assigned this Feb 14, 2019
@matticbot
Copy link
Contributor

@jeffersonrabb jeffersonrabb added Slideshow [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Status] Needs Rebase [Goal] Gutenberg Working towards full integration with Gutenberg and removed [Status] Needs Rebase labels Feb 14, 2019
@scruffian
Copy link
Member

LGTM 🚢

@scruffian scruffian added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Feb 15, 2019
@scruffian scruffian merged commit 71619e3 into master Feb 15, 2019
@scruffian scruffian deleted the fix/slideshow-gallery-updates branch February 15, 2019 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Goal] Gutenberg Working towards full integration with Gutenberg Slideshow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants