Skip to content

.offset() takes CSS zoom into account #5561

@mgol

Description

@mgol

Description

Numerous jQuery UI widgets are not working correctly with CSS zoom, as reported in jquery/jquery-ui#2292. The root cause is jQuery UI reliance on .offset() which returns final coordinates of the element, taking into account CSS transforms & CSS zoom - the jQuery UI issue is specifically about the latter.

I thought we should discuss the Core behavior.

Link to test case

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions