Skip to content

map listener issue with dialog angular material #36

@satriaenur

Description

@satriaenur

Hi.
Good job for the map, it's really useful and really has good features.

But I found something weird,
I try to use dialog from angular material on ammap listener, like simple listener with event clickMapObject fill with dialog.open() which is work if I put the script on anywhere else but clickMapObject listener.
The weird thing is, it does open the dialog, but it's not opening properly, like the animation is not shown, and when I close it, it wont close either I try to clik outside dialog, or using button that calling dialog.close().
But, when I try to click the map to open dialog, and then resize my browser size, the dialog reopened with proper animation, and when I try to close, it won't close until I resize my browser size again..
I've tried on other pc still got the same issue

i'm using:
"@amcharts/amcharts3-angular": "^1.5.0",
"ammap3": "^3.21.12",
"@angular/material": "^6.0.0-rc.1",

I appreciate any help,
thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions