mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.33k stars 559 forks source link

Allow percentage units instead of pixels #154

Open italomandara opened 5 years ago

italomandara commented 5 years ago

When you drag, the position of the element is set in pixel, but in a responsive or fluid layout would be nice to work with percentage values.

avilesasturias commented 5 years ago

When you drag, the position of the element is set in pixel, but in a responsive or fluid layout would be nice to work with percentage values.

Would be interesting especially to set the initial offset of the element using % based values.

Yeselimar commented 5 years ago

I have this same issue... have you solved it? :-(

freedomdebug commented 5 years ago

I have this same issue... this issue https://github.com/mauricius/vue-draggable-resizable/issues/74

ahfeel commented 4 years ago

@mauricius any update in this ? It would be really great!

NDanilov2015 commented 3 years ago

Hi guys! Have you ideas how using % instead of pixels? I stucked with such task in my current work...

TitanFighter commented 3 years ago

I did not have such task and maybe I do not know your specific case, but why not to do math on your own and convert px to %?