Skip to content

sap.f.DynamicPage: Header misalignment due to scroll behavior and added margin #4347

@steffenhls

Description

@steffenhls

What is the issue and how can we reproduce it?

Open the sample DynamicPageFreeStyle

Error:

The dynamic page header becomes misaligned with the rest of the header content because a margin is added to the right to compensate for the scrollbar width. This results in visible horizontal misalignment when the scrollbar appears.

Image Image

Expected behavior:

The margin adjustment should not be applied, as it causes layout inconsistency.

Image Image

Which OpenUI5 version is your project targeting?

1.141.0

Is the issue device- or browser-specific?

No response

Confirmation

  • I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
  • I am not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions