Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
giammariam
Solution Sage
Solution Sage

Visualization Resize Event

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?



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!
1 ACCEPTED SOLUTION
giammariam
Solution Sage
Solution Sage

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. 



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

View solution in original post

1 REPLY 1
giammariam
Solution Sage
Solution Sage

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. 



Madison Giammaria
Proud to be a Super User 😄
LinkedIn

Do you frequently use Deneb to provide insights to your stakeholders? Have you considered sponsoring this free and open source custom visual? More info here!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.