From 2e2c5f49ce13af68b747c538892b27afc74b1a8c Mon Sep 17 00:00:00 2001 From: Harwin Borger <3984675+HarwinBorger@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:10:47 +0200 Subject: [PATCH 1/2] Update i18nmanager.md --- website/versioned_docs/version-0.81/i18nmanager.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/versioned_docs/version-0.81/i18nmanager.md b/website/versioned_docs/version-0.81/i18nmanager.md index 66841b845d4..a48e94fa52f 100644 --- a/website/versioned_docs/version-0.81/i18nmanager.md +++ b/website/versioned_docs/version-0.81/i18nmanager.md @@ -117,6 +117,12 @@ static doLeftAndRightSwapInRTL: boolean; A boolean value indicating whether left and right style properties should be automatically swapped when in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts. +**Important Notes:** + +- doLeftAndRightSwapInRTL is `true` by default. This can be set to `false` with `swapLeftAndRightinRTL()`. +- Does only affect `marginLeft` / `marginRight` / `paddingLeft` / `paddingRight` / `borderLeftWidth` / `borderRightWidth` +- Does not affect position (relative/absolute) `left` / `right` + ## Methods ### `allowRTL()` @@ -162,4 +168,4 @@ Avoid forcing RTL in production apps as it requires a full app restart to take e static swapLeftAndRightInRTL: (swapLeftAndRight: boolean) => void; ``` -Swap left and right style properties in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts. Does not affect the value of `isRTL`. +Swap left and right style properties in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts. Does not affect the value of `isRTL`. From 378be90687fe3e8a3610676d9806e73a84ad79c3 Mon Sep 17 00:00:00 2001 From: Harwin Borger <3984675+HarwinBorger@users.noreply.github.com> Date: Wed, 1 Oct 2025 08:06:28 +0200 Subject: [PATCH 2/2] Update i18nmanager.md --- website/versioned_docs/version-0.81/i18nmanager.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-0.81/i18nmanager.md b/website/versioned_docs/version-0.81/i18nmanager.md index a48e94fa52f..74834948422 100644 --- a/website/versioned_docs/version-0.81/i18nmanager.md +++ b/website/versioned_docs/version-0.81/i18nmanager.md @@ -168,4 +168,4 @@ Avoid forcing RTL in production apps as it requires a full app restart to take e static swapLeftAndRightInRTL: (swapLeftAndRight: boolean) => void; ``` -Swap left and right style properties in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts. Does not affect the value of `isRTL`. +Swap left and right style properties in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts. Does not affect the value of `isRTL`.