Skip to content

Commit

Permalink
Merge pull request #74 from Netcentric/kaw-8193
Browse files Browse the repository at this point in the history
KAW-8193 Fix vehicle selector animation
  • Loading branch information
lakshmishriaswathnarayana authored Oct 25, 2024
2 parents a0128a7 + e9d2a18 commit fc2072a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blocks/vehicle-selector/vehicle-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ export default function decorate(block) {
imagesWrapper.appendChild(imagesContainer);

const tabNavigation = buildTabNavigation(tabItems, (index) => {
if (imagesContainer.classList.contains('is-animating')) {
return;
}

setCarouselPosition(imagesContainer, index);
});

Expand Down

0 comments on commit fc2072a

Please sign in to comment.