Skip to content

Commit

Permalink
fix: advance all handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Dec 16, 2022
1 parent 8173bd9 commit b1be9d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/app/routes/examples.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ export default function Examples() {
opacity: state === 'loading' ? 0.5 : 1,
}}>
{sandboxes.map(props => (
<li>
<CardExample key={props.urlTitle} {...props} />
<li key={props.urlTitle}>
<CardExample {...props} />
</li>
))}
</SandboxesList>
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/dom-events/scroll/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const onScroll = (
* Return true so RAFZ continues to run it
*/
const listener = () => {
containerHandler.advance()
containerHandlers?.forEach(handler => handler.advance())
return true
}

Expand Down

0 comments on commit b1be9d3

Please sign in to comment.