Skip to content

Commit

Permalink
fix(Gallery): fix flaky tests (#7951)
Browse files Browse the repository at this point in the history
  • Loading branch information
EldarMuhamethanov authored Nov 18, 2024
1 parent eaf8af7 commit e9c77b9
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const CarouselBase = ({
const isCenterWithCustomWidth = slideWidth === 'custom' && align === 'center';

const transformCssStyles = (shiftX: number, animation = false) => {
shiftX = Math.round(shiftX);
slidesManager.current.loopPoints.forEach((loopPoint) => {
const { target, index } = loopPoint;
const slide = slidesStore.current[index];
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9c77b9

Please sign in to comment.