Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Resizing browser with md-dialog open is broken in 0.10.1 / 0.11.0 #4513

@anupbelambe

Description

@anupbelambe

Resize on browser window with md-dialog is broken in 0.10.1. The issue can be reproduced by opening demo custom dialog and resizing browser. We can see that the dialog is positioned correctly as it did in 0.10.0

for e.g.
0.10.1:
open custom dialog on following AMD 0.10.1 link and resize the browser window.
https://material.angularjs.org/latest/#/demo/material.components.dialog

0.10.0
open custom dialog on following AMD 0.10.0 link and resize the browser window.
https://material.angularjs.org/0.10.0/#/demo/material.components.dialog

The custom dialog window is getting resized / positioned correctly on resizing the browser window in AMD 0.10.0 which seems to be broken in 0.10.1.

Appreciate if anyone can suggest any workaround for the same to use md-dialog in 0.10.1 with 0.10.0 behavior.

On Windows 7, google chrome Version 44.0.2403.157 m

Following is the snapshot of custom dialog on AMD 0.10.0 with small browser window

amd_0 10 0_custom_dialog

Snapshot with window maximized (AMD 0.10.0)

amd_0 10 0_custom_dialog_full_screen

snapshot of custom dialog on AMD 0.10.1 with small browser window

amd_0 10 1_custom_dialog

Snapshot with window maximized (AMD 0.10.1)

amd_0 10 1_custom_dialog_full_screen

Let me know if you need any additional information.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions