Skip to content

Commit

Permalink
scroll y in visible items
Browse files Browse the repository at this point in the history
  • Loading branch information
IzaacAyelin committed May 12, 2024
1 parent ca0a22b commit 792d5f7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ export class GalleryContainer extends React.Component {
isSEOMode() ||
isEditMode() ||
gotFirstScrollEvent ||
scrollY > 0 ||
scrollY > 0 || // Can be an inner container with its own scroll
window.scrollY ||
isPreviewMode() ||
this.props.activeIndex > 0
) {
Expand Down

0 comments on commit 792d5f7

Please sign in to comment.