Automattic / Automattic/jetpack

Carousel: Closing Carousel view goes back to Previous page

Open
#6,244 17 comments 0 reactions 0 assignees View on GitHub
[Feature] Carousel [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. On a new site, install the "Travern" theme from the WordPress.org theme directory (Themes > Add New).
1. Create a gallery on a site where Jetpack and the Carousel module are active.
1. Load your site's home page.
1. Navigate to the post / page where you've added the gallery.
1. Click on an image to load the Carousel view.
1. Click on the "x" icon to close the carousel view.
1. Instead of just closing the carousel view, the icon will act as if you had clicked on the browser's back button.

Reported here:
https://wordpress.org/support/topic/tiled-gallery-problems-with-nikkon-theme

Contributor guide

Open the contributing guide

Research direction

Reproduce this with the Travern theme on a site where Jetpack and its Carousel module are active, following the listed gallery and navigation steps. Investigate the Carousel view's closing behavior against the browser history, and consider the issue complete when the x icon closes the Carousel without returning to the previous page.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.