Automattic / Automattic/jetpack

Slideshow Block: layout issues with RTL languages

Open
#28,319 4 comments 0 reactions 0 assignees View on GitHub
[Block] Slideshow [Focus] i18n [Plugin] Jetpack [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Steps to Reproduce

1. change the locale to an rtl language one (settings -> site language)
2. create a page
3. add the `slideshow ` block
4. configure it
5. update
6. view post

### A clear and concise description of what you expected to happen.

The `slideshow `arrow buttons listener should be reversed too for RTL not only the arrows direction

### What actually happened

The `slideshow `arrow buttons do the opposite action, the right slides to left an the left to right

### Browser

Google Chrome/Chromium

### Other information

_No response_

### Platform (Simple, Atomic, or both?)

Simple

### Reproducibility

Consistent

### Severity

Some (< 50%)

### Available workarounds?

No but the platform is still usable

### Workaround details

Making custom blocks / download

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the slideshow block in an RTL locale using the listed steps, then locate the Jetpack slideshow block implementation and its arrow-button listener. Confirm that each arrow moves the slideshow in the expected RTL direction, and verify the behavior in Chrome before and after updating the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.