maxazan / jquery-ui-droppable-iframe

Use your droppable zones inside iframe
http://maxazan.github.io/jquery-ui-droppable-iframe/
MIT License
17 stars 10 forks source link

Droppable zoomed using CSS scale #5

Open jwfurness opened 6 years ago

jwfurness commented 6 years ago

My droppable is inside an iframe that is scaled to 0.4 using CSS transform. It seems that jQuery UI is not able to calculate the offset properly when the droppable area is scaled. Any insight on how to adjust for this scenario?

maxazan commented 6 years ago

Do you have any demo?

jwfurness commented 6 years ago

We were actually able to work out a solution last night by modifying the plugin to incorporate a scale factor. Perhaps it's something you might want to include in the base plugin?