Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I'm trying to figure out a way to determine whether or not a custom visualiztion is currently being resized (via dragging the resize handles). I basically want to write some logic to not trigger an update until the resizing is complete.
I tried to add an on mousedown/mousemove function on the .resizeHandle divs but I was unable to select them because they were outside of the iframe.
Has anyone run into this?
Solved! Go to Solution.
Seems like I solved my own issue. It appears that this information can be found in the update options. By wrapping my update logic in a an if(options.type !== 4). Apparently options.type === 4 indicates resizing.
Seems like I solved my own issue. It appears that this information can be found in the update options. By wrapping my update logic in a an if(options.type !== 4). Apparently options.type === 4 indicates resizing.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.