-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The dark mode is applied only after handling the cookies popup on UI5 1.132.x and OpenUI5 1.133.x #4185
Comments
Thank you for sharing this finding. I've created an internal incident DINC0389455. The status of the issue will be updated here in GitHub. |
It looks like, the problem is with the new cookies popup window, thus it might be, that the openui5-docs project is more relevant place to filing this issue. |
@pubmikeb |
Hello @pubmikeb , It sounds that prior versions were working for you as a side effect. I tested incognito mode (Chrome Version 132.0.6834.160 on MacOS) and it shows the "Understood" footer with Adblock Plus every time when I close/open the incognito mode window. This is expected because the browser is not supposed to keep any of your cookie settings on reopening as mentioned here: If I accept the dialog (with Adblock Plus active), choose dark theme and refresh the incognito window in the same session (without closing it and losing the cookie settings) the theme remains dark. I believe there is no issue here. Regards, |
@plamenivanov91, thanks for checking this ticket, Actually, I believe, the problem I've reported here has nothing to do with the cookies. The essence of the problem: Repro steps:
Expected result: Outcome in fact:
Expected result: Outcome in fact: And only after answering the cookies question, UI5 will be loaded in a proper mode, according to the browser settings: That's what I mean under this ticket, IMO, it's an regression comparing to the |
Open https://ui5.sap.com/1.132.0 or https://openui5nightly.hana.ondemand.com in Chrome's incognito mode (no AD blockers or any other content filter) — UI5 / OpenUI5 will be loaded in light mode, even if your browser is in dark mode, e.g.:
The proper mode is applied only after accepting/rejecting cookies (e.g. pressing «Understood»). If using an AD blocker, no cookies popup is displayed, and a user gets the UI5 / OpenUI5 in light mode.
The UI5 documentation prior 1.132.x and OpenUI5 1.133.x have no such an issue, the dark mode is active automatically.
The text was updated successfully, but these errors were encountered: