Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the scroll back to vertical mobile view? #108

Open
JosephAddant opened this issue Dec 22, 2022 · 1 comment
Open

How to change the scroll back to vertical mobile view? #108

JosephAddant opened this issue Dec 22, 2022 · 1 comment

Comments

@JosephAddant
Copy link

JosephAddant commented Dec 22, 2022

I have encounterd a problem, and as im new to this, could anyone please help me to find the issue or can anyone please tell me how to get vertical scroll in mobile view only?

Heres is the example

import HorizontalScroll from 'react-scroll-horizontal'

function App() {
  const object  = { width: `100vw`, height: `78%`}
    return (
      <div className="App">
        <HorizontalScroll 
        reverseScroll = { true }
        style  = { object }>
          <div className='main bg1'>
            <LandingPage />
          </div>
          <div className='main bg2'>
            <PDP />
          </div>
          <div className='main bg3'>
            <Onboarding />
          </div>
          <div className='main bg4'>
            <Execution1 />
          </div>
        </HorizontalScroll>
      </div>
    );
  }
@JosephAddant
Copy link
Author

JosephAddant commented Jan 10, 2023

Any update on this one?????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant