Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.
This repository was archived by the owner on May 20, 2022. It is now read-only.

calcTranslation Error #8

@I3rendan

Description

@I3rendan

Things work well on a page where the Parallax element is used and then when you change the state, there's an infinite number of these errors: Uncaught TypeError: Cannot read property 'style' of undefined at Object._calcTranslation (index.js:44)

Here's the simple implementation I'm using...

import React, {Component} from 'react';
import Parallax from 'react-simple-parallax';

export default class Home extends Component {

displayName: 'Home';

render () {

return (

  <div className='home-wrap'>

    <section className="parallax-image">
      <Parallax className="parallax"
        speedDivider="10">
      </Parallax>
    </section>`

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