Skip to content

[question] reset panning #8

@simoneb

Description

@simoneb

I'm in a situation where I'm rendering different contents inside an <ElementPan> component, and whenever the contents change I'd need to reset all panning.

I got it to work by using componentWillReceiveProps and resetting the panning manually there, but it feels like a hammer kind of solution.

Any advice?

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