Skip to content

[ui5-dialog]: _screenResize is called for every dialog on the page, even if it's not opened #12809

@dimovpetar

Description

@dimovpetar

Bug Description

Read the title

Affected Component

ui5-dialog

Expected Behaviour

_screenResize should be called only for opened dialogs.

Isolated Example

No response

Steps to Reproduce

  1. Open https://ui5.github.io/webcomponents/nightly/packages/main/test/pages/Dialog.html
  2. Put a breakpoint on the _screenResize method of the dialog component
  3. Resize the window and observe how many times it is called

Log Output, Stack Trace or Screenshots

No response

Priority

Low

UI5 Web Components Version

main

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP

Declaration

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions