Skip to content

Add support for "disableTranslate" to translate with top and left values instead of css transform>translate. (similar to disableScale) #3

@Smashr

Description

@Smashr

Hey,

So I've been working with the library for a few days now. Its great !

I feel there is a need to add a "disableTranslate" option as well, so that the 'scale' and 'translate' functions will translate the element with 'top' and 'left' css values.

Most 'draggable' plugins use 'top' and 'left' values instead of translate, so its definitely helpful when migrating from a draggable implementation. Also, when there is an option to position an absolute div with 'left' and 'top' values, it is usually unnecessary to use translate.

Thank you for the awesome library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions