Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Problem of compatibility with next JS #15

Open
manuelmendozam opened this issue Jan 18, 2019 · 0 comments
Open

Problem of compatibility with next JS #15

manuelmendozam opened this issue Jan 18, 2019 · 0 comments

Comments

@manuelmendozam
Copy link

manuelmendozam commented Jan 18, 2019

I have a problem using this in a project with next JS.
When I use the Link component of next the URL is updated, but not the page, instead of i see a white page.

This happens independently where I use the Link component, the problem starts when i use both components at the same time.

Example:

<div>
  <Scroller scrollRef={ref => this.scroll = ref} autoScroll={true} autoFrame={true} onScrollChange={(scroll) => this.setState({ scroll })} >
    <section >
      <p>Section 1</p>
    </section>
    <section >
      <p>Section 2</p>
    </section>
    <section >
      <p>Section 3</p>
      <Link href="/">Go Index</Link>
    </section>
  </Scroller>
</div>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant