microsoft / PowerBI-visuals-tools

Contains tools for building/packaging Power BI visuals
https://www.powerbi.com
MIT License
334 stars 150 forks source link

openModalDialog does not always show content #394

Closed Balogh1Bence closed 1 year ago

Balogh1Bence commented 3 years ago

I have created a custom visual that implements the dialog found in this tutorial: https://docs.microsoft.com/en-us/power-bi/developer/visuals/create-display-dialog-box?tabs=JavaScript#add-your-dialog-box-to-the-registry-list

When I open the dialog using host.openModalDialog, it appears, but the content is not always added. Also there is a huge delay between the time the dialog appears and the content of the dialog appears.

This is the definition of the dialog: image

This is how I open it: image

AleksSavelev commented 1 year ago

The issue isn't related to the Tools package. Feel free to contact pbicvsupport@microsoft.com with questions related to the development of custom visuals