Skip to content

[UserSettingsDialog]: back button overlaps header title at narrow viewport widths (200% browser zoom) #14276

Open

Description

@AlekseiSch

Bug Description

When the browser is zoomed to 200%, UserSettingsItem switches to the collapsed layout. In this mode the "Navigate Back" button is absolutely positioned at inset-inline-start: 1rem, and the title is supposed to clear it via padding-inline-start: calc(var(--_ui5_button_base_min_width) + 0.5rem). This padding intermittently computes to 0, causing the button to overlap the title text.

The issue is in UserSettingsItem.css:
.ui5-user-settings-item-header--with-back [ui5-title] { padding-inline-start: calc(var(--_ui5_button_base_min_width) + 0.5rem); }

--_ui5_button_base_min_width is defined in the theme stylesheet. At the point this rule first applies (when the component switches to collapsed layout), the variable sometimes has not yet resolved, so calc() produces an invalid value and the browser falls back to padding-inline-start: 0.

Image

Navigation buttons persist after zoom returns to 100%. When the browser zoom is reduced back to 100%, the > arrows that appeared on each navigation list item in mobile mode remain visible. At 100% zoom the component is in desktop mode and the buttons should not be shown.

Image

Affected Component

UserSettingsDialog

Expected Behaviour

  1. The "Navigate Back" button sits to the left of the section title with no overlap.
  2. After returning to 100% zoom, the component detects the wider viewport and hides the navigation buttons, restoring the standard desktop layout.

Isolated Example

https://ui5.github.io/webcomponents-react/v2/?path=/docs/modals-popovers-usersettingsdialog--docs

Steps to Reproduce

  1. Open a page that renders UserSettingsDialog with at least one UserSettingsItem.
  2. Set browser zoom to 200%.
  3. Open the dialog.
  4. Observe the content area header.

Log Output, Stack Trace or Screenshots

No response

Priority

No response

UI5 Web Components Version

2.26.0

Browser

Chrome

Operating System

windows 11

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Activity

  1. aleksandar-terziev commented on Nov 10, 2026

    @aleksandar-terziev
    Contributor

    Hi @AlekseiSch,

    I tried to reproduce the issue with the steps that you described, but I am not able to.

    Screen.Recording.2026-11-10.at.13.22.07.mov

    Could you provide more details how the issue can be reproduced ?

    Best Regards
    Aleksandar

  2. AlekseiSch commented on Nov 10, 2026

    @AlekseiSch
    Author

    I’ve attached a video - you need to open the dialog and change zoom
    https://github.com/user-attachments/assets/202a4cc1-321e-4aa5-ab58-1832bb47ea76

  3. aleksandar-terziev commented on Nov 10, 2026

    @aleksandar-terziev
    Contributor

    Thanks @AlekseiSch !
    I am forwarding this issue to @UI5/ui5-team-sak .

  4. removed their assignment
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions