Forum Discussion
Custom Visualization goes "Blank" after Resize
I'm expriencing a strange behavior while trying to develop a custom visual.
The visualization goes blank after resizing the visualization. Has anyone else experienced this and know the cause?
I've reverted to the default template created during "pbiviz new" and see the same behavior. It looks like the div id="sandbox-host" is completely wiped.
As you can see here, updates WORK. This adding and removing a field that increased the encounter count.
Here is a screen grab of the DOM for the iframe of this visualization:
Now, after a resize:
And the DOM now:
This seems to be a transient issue that's been happening for me as well. It's working at the moment in my tenant, but has been sporadic over the last few days and cost me a lot of wasted time in debugging. Suggestion would be to create an issue in the tools repo to see if there's anything the team are doing any maintenance on the developer visual in the Service. They don't frequent the forums, unfortunately 😞
Daniel
8 Replies
- dm-pSuper User
This seems to be a transient issue that's been happening for me as well. It's working at the moment in my tenant, but has been sporadic over the last few days and cost me a lot of wasted time in debugging. Suggestion would be to create an issue in the tools repo to see if there's anything the team are doing any maintenance on the developer visual in the Service. They don't frequent the forums, unfortunately 😞
Daniel
- WZornHelper III
Seriously? I'm right there with you on wasted time. I've been commenting out and removing modules thinking that something I added either isn't compatible or broke the visual.
*sigh* I need a notification email or site to check for issues before I drive myself crazy.
- WZornHelper III
I tried again this morning. Still seeing the same problem. If I could see this intermittent behavior, I'd feel a little better.
I made a post on the tools repo as you suggested.
- WZornHelper III
I'm not seeing anything intermittent about this. It's always doing the same thing.
A have a little bit of a clarification. The visual goes "blank" on mouse-up. If I click and drag the frame to resize the visual, the update count increases as expected. As soon as I release the button it goes blank.
Any ideas on how to debug this? I've posted on the tools repo, but no response there.
- dm-pSuper User
It was intermittent for me in the sense that it was doing this, and now it's not (in my tenant) - and has been 'stable' for around 4 days or so now. I did a presentation the other day on creating visuals where it worked the whole time, but the day before, I was having these exact problems.
The behaviour I experienced was indeed the same as you, i.e. resize, mouse up and then it looked like the visual host attempted to run the constructor agaion rather than the update method.... but just blanked out. Since the issue has gone away, the seems to wotk very much the same, i.e. update method fires as normal.
So... for me it seems to be okay, but I'm not sure why it resolved itself. I'm not sure what else you can do in terms of debugging as it looks like an issue external to our code in the sense that the developer visual host is causing the problem.
If you've raised an issue and had no response the only other thing I can think of is to email [email protected] and link the issue in this correspondence. It may spur the team to look at it. I will see if I can escalate awareness of this issue through a different channel, but it might take a couple of days for me to hear anything (if I do).
- AnonymousNot applicable
Hello WZorn
Sorry for bothering, this is off-topic. I wanted to ask you whether you can help me regarding this question.