-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Description
Issue Summary
Hebrew Event Scheduling page Shows LTR Direction Instead of RTL (after declaring it is supported in https://cal.com/blog/cal-v-1-3).
Steps to Reproduce
- Open a new incognito/private browser window
- Navigate to https://cal.com/andriy-anthon
- Inspect the HTML element using browser DevTools
- Result: - INCORRECT (should be dir="rtl")
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
The Hebrew event Scheduling page ((https://cal.com/andriy-anthon)) displays with incorrect text direction (dir="ltr") instead of the expected right-to-left
(dir="rtl") direction for Hebrew language content. This issue occurs consistently in fresh sessions (incognito mode) and is independent of user authentication state.
Actual Results
- Hebrew event type page has dir="ltr" on the HTML element
- Hebrew content is displayed with LTR direction, causing poor readability
- The issue persists even in incognito mode (fresh session, no cache)
- Path-based locale (/he/) does not set RTL direction ((https://cal.com/he/andriy-anthon))
Expected Results
- Hebrew event type pages should have dir="rtl" set on the HTML element
- Hebrew text should flow from right to left
- The /he/ path segment in the URL should trigger RTL direction
Technical details
- The language "Hebrew" is set in the settings.
- This also happens when the page is embedded in a webpage.
- Happens in all browsers.
This is changed when I login to the account and open the drop-down of the languages (not changing it) and then refresh the page. Something in the session creation is setting the correct RTL setting but when opening a new incognito windows this session setting is lost.
Evidence
