<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Visualization goes &amp;quot;Blank&amp;quot; after Resize in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2003746#M30972</link>
    <description>&lt;P&gt;I'm not seeing anything intermittent about this.&amp;nbsp; It's always doing the same thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A have a little bit of a clarification.&amp;nbsp; The visual goes "blank" on mouse-up.&amp;nbsp; If I click and drag the frame to resize the visual, the update count increases as expected.&amp;nbsp; As soon as I release the button it goes blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to debug this?&amp;nbsp; &amp;nbsp;I've posted on the tools repo, but no response there.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Aug 2021 01:01:28 GMT</pubDate>
    <dc:creator>WZorn</dc:creator>
    <dc:date>2021-08-08T01:01:28Z</dc:date>
    <item>
      <title>Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2001016#M30933</link>
      <description>&lt;P&gt;I'm expriencing a strange behavior while trying to develop a custom visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The visualization goes blank after resizing the visualization.&amp;nbsp; Has anyone else experienced this and know the cause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've reverted to the default template created during "pbiviz new" and see the same behavior.&amp;nbsp; It looks like the div id="sandbox-host" is completely wiped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see here, updates WORK.&amp;nbsp; This adding and removing a field that increased the encounter count.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WZorn_0-1628197027014.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/567923iF0461CCB88E141BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WZorn_0-1628197027014.png" alt="WZorn_0-1628197027014.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a screen grab of the DOM for the iframe of this visualization:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WZorn_1-1628197162927.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/567925iC90A3F76C901A259/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WZorn_1-1628197162927.png" alt="WZorn_1-1628197162927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, after a resize:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WZorn_2-1628197197535.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/567926iF5126DA58833F477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WZorn_2-1628197197535.png" alt="WZorn_2-1628197197535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the DOM now:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WZorn_3-1628197240506.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/567929i698CD40D55C1EBB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WZorn_3-1628197240506.png" alt="WZorn_3-1628197240506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 21:01:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2001016#M30933</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-05T21:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2001075#M30936</link>
      <description>&lt;P&gt;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 &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/" target="_self"&gt;create an issue in the tools repo&lt;/A&gt; 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 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 22:32:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2001075#M30936</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-08-05T22:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2002344#M30950</link>
      <description>&lt;P&gt;Seriously?&amp;nbsp; I'm right there with you on wasted time.&amp;nbsp; I've been commenting out and removing modules thinking that something I added either isn't compatible or broke the visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*sigh*&amp;nbsp; I need a notification email or site to check for issues before I drive myself crazy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 11:52:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2002344#M30950</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-06T11:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2002453#M30952</link>
      <description>&lt;P&gt;I tried again this morning.&amp;nbsp; Still seeing the same problem.&amp;nbsp; If I could see this intermittent&amp;nbsp;behavior, I'd feel a little better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a post on the tools repo as you suggested.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 13:10:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2002453#M30952</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-06T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2003746#M30972</link>
      <description>&lt;P&gt;I'm not seeing anything intermittent about this.&amp;nbsp; It's always doing the same thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A have a little bit of a clarification.&amp;nbsp; The visual goes "blank" on mouse-up.&amp;nbsp; If I click and drag the frame to resize the visual, the update count increases as expected.&amp;nbsp; As soon as I release the button it goes blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to debug this?&amp;nbsp; &amp;nbsp;I've posted on the tools repo, but no response there.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 01:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2003746#M30972</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-08T01:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2003855#M30973</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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 &lt;EM&gt;our&lt;/EM&gt; code in the sense that the developer visual host is causing the problem.&lt;/P&gt;
&lt;P&gt;If you've raised an issue and had no response the only other thing I can think of is to email &lt;A href="mailto:pbicvsupport@micsrosoft.com" target="_blank"&gt;pbicvsupport@micsrosoft.com&lt;/A&gt; 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).&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 03:34:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2003855#M30973</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-08-08T03:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2004212#M30980</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;, thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll send an email tomorrow and see if I can get some more attention to the post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two things I'm noticing that may or may not be related:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; I've noticed that when I add the developer visual in PBI Online, I get two warnings in the console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DevTools failed to load SourceMap: Could not parse content for &lt;A href="https://app.powerbi.com/groups/me/reports/03c1da23-94b2-4ba0-80b2-f1f2f616be9b/visual.js.map" target="_blank" rel="noopener"&gt;https://app.powerbi.com/groups/me/reports/03c1da23-94b2-4ba0-80b2-f1f2f616be9b/visual.js.map&lt;/A&gt;: Unexpected token &amp;lt; in JSON at position 2&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DevTools failed to load SourceMap: Could not parse content for &lt;A href="https://app.powerbi.com/groups/me/reports/03c1da23-94b2-4ba0-80b2-f1f2f616be9b/visual.css.map" target="_blank" rel="noopener"&gt;https://app.powerbi.com/groups/me/reports/03c1da23-94b2-4ba0-80b2-f1f2f616be9b/visual.css.map&lt;/A&gt;: Unexpected token &amp;lt; in JSON at position 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When running pbiviz start, the output shows "error", but no details and it progresses on.&amp;nbsp; I think this may be since I started using "&lt;SPAN&gt;powerbi-visuals-api"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"~3.8.2".&amp;nbsp; You can see in below just after the "found 0 vulnerabilities" line.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here's what I see:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;\defaultNew&amp;gt; pbiviz start&lt;BR /&gt;info Installing API: ~3.8.2...&lt;BR /&gt;info&lt;BR /&gt;up to date, audited 147 packages in 2s&lt;/P&gt;&lt;P&gt;4 packages are looking for funding&lt;BR /&gt;run `npm fund` for details&lt;/P&gt;&lt;P&gt;found 0 vulnerabilities&lt;/P&gt;&lt;P&gt;error&lt;/P&gt;&lt;P&gt;info Starting server...&lt;BR /&gt;info Start preparing plugin template&lt;BR /&gt;i ｢wds｣: Project is running at &lt;A href="https://localhost:8080/webpack-dev-server/" target="_blank" rel="noopener"&gt;https://localhost:8080/webpack-dev-server/&lt;/A&gt;&lt;BR /&gt;i ｢wds｣: webpack output is served from /assets&lt;BR /&gt;i ｢wds｣: Content not from webpack is served from \defaultNew\.tmp\drop&lt;BR /&gt;info Finish preparing plugin template&lt;BR /&gt;(node:13264) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.modules was changed from Array to Set (using Array method 'reduce' is deprecated)&lt;BR /&gt;(Use `node --trace-deprecation ...` to show where the warning was created)&lt;BR /&gt;(node:13264) [DEP_WEBPACK_MODULE_ERRORS] DeprecationWarning: Module.errors was removed (use getErrors instead)&lt;BR /&gt;(node:13264) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.&lt;BR /&gt;BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.&lt;BR /&gt;Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.&lt;BR /&gt;Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.&lt;BR /&gt;info Start packaging...&lt;BR /&gt;info Finish packaging&lt;BR /&gt;Webpack Bundle Analyzer saved report to \defaultNew\webpack.statistics.dev.html&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DONE Compiled successfully in 4678ms 3:07:15 PM&lt;BR /&gt;i ｢wdm｣: assets by path ../build/ 1.91 KiB&lt;BR /&gt;asset ..\build\src\visual.d.ts 1.22 KiB [emitted]&lt;BR /&gt;asset ..\build\src\settings.d.ts 432 bytes [emitted]&lt;BR /&gt;asset ..\build\.tmp\precompile\visualPlugin.d.ts 271 bytes [emitted]&lt;BR /&gt;assets by chunk 419 KiB (name: visual.js)&lt;BR /&gt;asset visual.js 419 KiB [emitted] (name: visual.js) 1 related asset&lt;BR /&gt;asset visual.css 132 bytes [emitted] (name: visual.js) 1 related asset&lt;BR /&gt;asset pbiviz.json 435 KiB [emitted]&lt;BR /&gt;asset status 62 bytes [emitted]&lt;BR /&gt;Entrypoint visual.js 419 KiB (464 KiB) = visual.css 132 bytes visual.js 419 KiB 2 auxiliary assets&lt;BR /&gt;orphan modules 7.33 KiB [orphan] 6 modules&lt;BR /&gt;runtime modules 1.13 KiB 5 modules&lt;BR /&gt;modules by path ./node_modules/core-js/modules/*.js 189 KiB 182 modules&lt;BR /&gt;modules by path ./node_modules/core-js/internals/*.js 133 KiB 145 modules&lt;BR /&gt;modules by path ./node_modules/powerbi-visuals-utils-dataviewutils/lib/*.js 5.53 KiB&lt;BR /&gt;./node_modules/powerbi-visuals-utils-dataviewutils/lib/dataViewObjectsParser.js 3.54 KiB [built] [code generated]&lt;BR /&gt;./node_modules/powerbi-visuals-utils-dataviewutils/lib/dataViewObjects.js 1.46 KiB [built] [code generated]&lt;BR /&gt;./node_modules/powerbi-visuals-utils-dataviewutils/lib/dataViewObject.js 543 bytes [built] [code generated]&lt;BR /&gt;modules by path ./src/*.ts 16.1 KiB&lt;BR /&gt;./src/visual.ts 11.6 KiB [built] [code generated]&lt;BR /&gt;./src/settings.ts 4.43 KiB [built] [code generated]&lt;BR /&gt;./.tmp/precompile/visualPlugin.ts 1.01 KiB [built] [code generated]&lt;BR /&gt;external "Function('return this')()" 42 bytes [built] [code generated]&lt;BR /&gt;css ../../../../AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/css-loader/dist/cjs.js!../../../../AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./style/visual.less 93 bytes [built] [code generated]&lt;BR /&gt;webpack 5.43.0 compiled successfully in 4678 ms&lt;BR /&gt;i ｢wdm｣: Compiled successfully.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Aug 2021 20:32:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2004212#M30980</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-08T20:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2005447#M30999</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/304461"&gt;@WZorn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for bothering, this is off-topic. I wanted to ask you whether you can help me regarding &lt;A href="https://community.powerbi.com/t5/Developer/How-to-see-the-DOM-of-a-custom-R-HTML-visual/m-p/2004028" target="_self"&gt;this question&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 10:06:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2005447#M30999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-09T10:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visualization goes "Blank" after Resize</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2011243#M31051</link>
      <description>&lt;P&gt;As it turns out.... it randomly started working again yesterday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No replys from anyone on the github, so no idea why.&amp;nbsp; Back to work though!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:10:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visualization-goes-quot-Blank-quot-after-Resize/m-p/2011243#M31051</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-08-11T19:10:09Z</dc:date>
    </item>
  </channel>
</rss>

