We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version: 2.2.0 (stable) react: 18.3.1
const Page = () => { const numbers = new Array(100).fill(0).map((_, index) => index); return ( <div> <ScrollContainer className="container"> {numbers.map((el) => ( <div key={el} className="row"> {el} </div> ))} </ScrollContainer> </div> ); } export default Page;
.row { height: 65px; width: 80px; display: flex; align-items: center; justify-content: center; color: white; font-family: sans-serif; font-weight: bold; font-size: 24px; } .row:nth-child(1n) { background: #7b7; } .row:nth-child(2n) { background: #7c7; } .container { height: calc(100vh - 20px); display: flex; flex-direction: row; }
if I change flex-direction to column the vertical scroll is working fine
flex-direction
column
The text was updated successfully, but these errors were encountered:
No branches or pull requests
version: 2.2.0 (stable)
react: 18.3.1
Code to reproduce
Page.tsx
Page.css
if I change
flex-direction
tocolumn
the vertical scroll is working fineThe text was updated successfully, but these errors were encountered: