react-scroll-horizontal icon indicating copy to clipboard operation
react-scroll-horizontal copied to clipboard

How to change the scroll back to vertical mobile view?

Open JosephAddant opened this issue 3 years ago • 1 comments

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 avatar Dec 22 '22 11:12 JosephAddant

Any update on this one?????

JosephAddant avatar Jan 10 '23 05:01 JosephAddant