pierrejeambrun opened a new pull request, #67334:
URL: https://github.com/apache/airflow/pull/67334

   Backport of #65811 to ``v3-2-test``.
   
   Cherry-picked from f1a3050e22f6caa6df29af31971abbaf9ec1fa92.
   
   Clean cherry-pick, no conflicts — git auto-merged ``package.json`` and 
``pnpm-lock.yaml``.
   
   Fixes #67309 (UI layout persistent RTL rendering after multiple browser 
refreshes on the Dag detail page in 3.2.2rc1). The persistent RTL state is 
caused by a ``useTranslation`` re-render race in ``react-i18next`` 15.5.1: 
``useSyncExternalStore``'s subscribe callback attaches after first commit, and 
on a fast-loading production bundle the post-init ``languageChanged`` event can 
fire before the listener is set, so the component renders with the i18next 
default direction (``"rtl"``) and never re-renders with the resolved language. 
``react-i18next`` 16.x reworked the hook subscription path so the event isn't 
dropped.
   
   The bump has been on ``main`` since 2026-04-27 but was never backported to 
the 3.2 release branch, so 3.2.2rc1 shipped with the buggy version.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to