Skip to content

Conversation

Manisha1679
Copy link

Description
When the Files app is in RTL mode, the WebView content in Release Notes was mirrored. This PR forces the WebView to display content Left-to-Right.

Resolved / Related Issues

Steps used to test these changes

  1. Opened Files.
  2. Changed app language to an RTL language (e.g., Arabic or Hebrew) from Settings → Preferences → Language.
  3. Navigated to Release Notes page.
  4. Verified that the sidebar, toolbar, and other app UI correctly display in RTL.
  5. Verified that the Release Notes WebView content stays in LTR (not mirrored).
  6. Tested switching back to English (LTR) to confirm that Release Notes still display correctly.
  7. Clicked a few links inside Release Notes to ensure normal behavior (open in browser).

@yaira2 yaira2 changed the title Fix : mirrored WebView content in RTL mode (#17615) Fix: Fixed issue where release notes was mirrored in RTL Sep 16, 2025
@yaira2
Copy link
Member

yaira2 commented Sep 16, 2025

@Manisha1679 thank you for the PR. Does it work to set the flow direction in the ReleaseNotesPage xaml file?

@Manisha1679
Copy link
Author

Are you asking me to make changes in ReleaseNotesPage.xaml?

@yaira2
Copy link
Member

yaira2 commented Sep 17, 2025

Are you asking me to make changes in ReleaseNotesPage.xaml?

Correct. If possible, it would be preferable to set the FlowDirection in the xaml instead of the code behind.

@Manisha1679
Copy link
Author

Yes, It is possible. I will do it at the earliest,maybe by tomorrow evening.

@Manisha1679
Copy link
Author

Thanks for the suggestion! 🙌
I’ve updated the PR to set FlowDirection="LeftToRight" directly in ReleaseNotesPage.xaml instead of code-behind.
This keeps the fix cleaner and resolves the merge conflict as well.

@Manisha1679
Copy link
Author

Their is a small indentation issue. I tried to fix it ,now also it's showing conflicts but both branches are literally the same as I can see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: RTL Files mirrors anything in Webview
2 participants