Skip to content

When multiple rerenders happen on the page the parallax animation stops working #126

@OttlikG

Description

@OttlikG

I use the react version of parallax component.

When I comment out the following it works correctly.
https://github.com/geosigno/simpleParallax.js/blob/master/src/react/index.tsx#L52-L54

I think this lib really the easiest to integrate out of the mani parallax solution although there is a little problem when multiple rerenders mounting an unmounting happens on the page.
When I click on the Edit button which enables the page to inline edit text and edit gallery etc. the parallax stops working. I digged into the code and figured that it fix it when I comment out the aforementioned lines.

Hope this helps to fix this little issue with the lib.

If any input needed don't hesitate to ask.

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