Skip to content

Serverside-modality blocks browserWindowResizeEvents #14265

Closed

Description

@caalador

Description of the bug

With a server modal component any windowResizeEvents are blocked and not handled until the modal component clears the modality.

Expected behavior

WindowResizeEvents are fired for the application even with a server-side modal component.

Minimal reproducible example

View with

        Page page = UI.getCurrent().getPage();
        page.addBrowserWindowResizeListener(
                event -> Notification.show("Window width="
                        + event.getWidth()
                        + ", height=" + event.getHeight()));
        add(new Button("Dialog", event-> new Dialog().open()));

with modal dialog open no notifications added for resize.

Versions

  • Vaadin / Flow version: 23+

Activity

  1. added a commit that references this issue on Aug 4, 2022
    53d2863
  2. added a commit that references this issue on Aug 5, 2022
    35ca3eb
  3. added 2 commits that reference this issue on Aug 5, 2022
    83b0202
    4320c50
  4. added 2 commits that reference this issue on Aug 5, 2022
    0fbd232
    712068a
  5. vaadin-bot commented on Aug 18, 2022

    @vaadin-bot
    Collaborator

    This ticket/PR has been released with Vaadin 23.2.0.beta1 and is also targeting the upcoming stable 23.2.0 version.

  6. vaadin-bot commented on Aug 23, 2022

    @vaadin-bot
    Collaborator

    This ticket/PR has been released with Vaadin 23.0.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions