Skip to content

Performance problems caused by use of offsetWidth #2434

Description

@ellisjas

offsetWidth and offsetHeight both cause the browser to recalculate the layout, leading to performance problems.

Would be great to see these functions replaced by something more performant, e.g. the ResizeObserver API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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