Skip to content

offsetParent with padding problem #218

Description

@Nauss

Using the offsetParent option and setting padding the parent makes the right drag limit wrong (it looks like its padding-left + padding-right).
Reproducing the bug on the demo is easy, just open the dev tools and set the padding to the container with scrollbars.

Setting only the left padding 'works' (in this case, the right padding must not be set and is the same as left...).

Maybe I missed something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions