Skip to content

How detect offset?Β #141

@eseQ

Description

@eseQ

Hello.
I use react-measure to detect dimensions and offset changes in my case.
Main idea: Have a visible list and list of hidden items;
But I have no way to track offset changes.
I created demo: https://codesandbox.io/s/modest-list-omkl0
I have a list like this: before
And if add some element: after
No one after the new element does not touch onResize callback. Yeah, dimensions stay without changes but bounds (offsets) have been changed.
Any ideas?

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