cancel
Showing results for 
Search instead for 
Did you mean: 

Drag event not firing within custom visuals

I am creating my own custom visual and want to create drag and drop functionality. HTML elements with the draggable property however are not able to be dragged and drag events are not firing.

 

Is there a reason for this or can I do native drag and drop features in custom visuals?

Status: New
Comments
v-robertq-msft
Community Support

Hi,

What’s the custom visual you are creating?

I think you can first try to right-click the custom visual and select Pin to visualization pane.

 

Best Regards,

Community Support Team _Robert Qin

brandonfox
New Member

Right now I am using the developer visual as I am still working on it. I am trying to create just a simple HTML element using the drag-drop functionality as defined here: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable

 

JS drag events however do not seem to fire and the draggable property doesn't seem to change the element in any way

v-robertq-msft
Community Support

Hi,

According to your link, I think this issue is related to the Developer problems of the Power BI developers, I suggest you to go the Developer community to open a case so that experts can help you to research this problem.

https://community.powerbi.com/t5/Developer/bd-p/Developer

 

Best Regards,

Community Support Team _Robert Qin