ammap3 icon indicating copy to clipboard operation
ammap3 copied to clipboard

map listener issue with dialog angular material

Open satriaenur opened this issue 6 years ago • 1 comments

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

satriaenur avatar Jul 10 '18 16:07 satriaenur

Hi, and thanks.

I'm afraid we do not have any experience with Material. Would you be able to provide some sort of working demo which we can check, so we can possible figure out what's going on there?

martynasma avatar Jul 11 '18 12:07 martynasma