Skip to content

Commit

Permalink
fix videos play button z-index for fade animation (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-heller1 authored Sep 15, 2024
1 parent aedf477 commit bd3c4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gallery/src/components/item/itemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ class ItemView extends React.Component {
left: isRTL ? 'auto' : 0,
right: !isRTL ? 'auto' : 0,
pointerEvents: activeIndex === idx ? 'auto' : 'none',
zIndex: activeIndex === idx ? 0 : 1,
zIndex: activeIndex === idx ? 1 : 0,
};
break;
case GALLERY_CONSTS.slideAnimations.DECK:
Expand Down

0 comments on commit bd3c4c8

Please sign in to comment.