ionic-team / ionic-team/capacitor-os-inappbrowser

leftToRight switched?

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
15
PR merge metrics
No merged PRs in 30d

Description

The default value for `leftToRight` is set to `false` (side question: why? is more used by RTL readers?) in `DefaultWebViewOptions`, which makes the scrollbar appear on the left hand side.

https://github.com/ionic-team/capacitor-os-inappbrowser/blob/5a974332cb99856c568c1f0fbb21463faf3a46eb/src/defaults.ts#L45

If you change the value to `true`, then the scrollbar is shown on the right hand side, but then the toolbar `Close` and `navigation` switch positions.

For me it looks odd, as for a LTR language (`leftToRight = true`) the scrollbar should be on the right (correct) but the `Close` should be on the left?

Tested on iOS, don't know how it behaves on Android.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.