Skip to content

Return width according to provided observerOptions #220

@moroine

Description

@moroine

According to the documentation, we can pass ObserverOptions https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe

But when using box: 'border-box' the width returned by the hook is always contentBox

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions