Skip to content

Commit

Permalink
Test scrolling functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
VincenzoMeschi committed Jan 31, 2024
1 parent e14c2b1 commit 87a8dce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/List/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,17 @@ export default function List(props) {
onClick={() => handleClick("left")}
style={{ display: !isMoved && "none" }}
/>
<div className="containerArrow" ref={listRef}>
{props.list.content.map((item, index) => (
<ListItem
key={`index-${item}`}
index={index}
listIndex={props.listIndex}
movieId={item}
movies={props.movies}
/>
))}
</div>
<ArrowForwardIosOutlined
className="sliderArrow right"
onClick={() => handleClick("right")}
Expand Down

0 comments on commit 87a8dce

Please sign in to comment.