Skip to content

WIP: Right to Left (RTL) support (YPE-4818) - #406

Draft
cameronapak wants to merge 5 commits into
mainfrom
ype-4818-react-web-sdk-fix-rtl-layout-bugs-uq8cqs
Draft

cameronapak wants to merge 5 commits into
mainfrom
ype-4818-react-web-sdk-fix-rtl-layout-bugs-uq8cqs

Conversation

@cameronapak

@cameronapak cameronapak commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add independent interface and Scripture direction handling
  • mirror Bible reader controls, pickers, portals, and mixed-direction content for RTL locales
  • add RTL unit and Storybook browser coverage, plus direction documentation

Verification

  • pnpm test
  • pnpm typecheck
  • pnpm lint
  • pnpm exec turbo build --force
  • Storybook browser tests: 53/53 passed

Browser-specific RTL scrollLeft models made scroll-offset heuristics
place the highlight swatch fade masks incorrectly. Measure the first
and last swatches against the row viewport instead, mapping logical
start/end to physical edges by direction.

Also add a Storybook locale toolbar toggle and RTL integration
stories for the bible reader and swatch overflow.
@cameronapak cameronapak self-assigned this Sep 15, 2026
@changeset-bot

changeset-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4158a3f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@youversion/platform-core Minor
@youversion/platform-react-ui Minor
@youversion/platform-react-hooks Minor
vite-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cameronapak cameronapak changed the title WIP: Right to Left (RTL) support WIP: Right to Left (RTL) support (YPE-4818) Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants