Merged in fix/SW-1898-mobile-hotel-map-card-list (pull request #1537)

fix/SW-1898-mobile-hotel-map-card-list

* fix(SW-1898): call reInit


Approved-by: Erik Tiekstra
This commit is contained in:
Fredrik Thorsson
2025-03-17 07:53:32 +00:00
parent 8f0763285c
commit c99060363c
2 changed files with 2 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ function Carousel({
useEffect(() => {
if (!api || scrollToIdx === -1) return
api.reInit()
api.scrollTo(scrollToIdx)
}, [api, scrollToIdx])

View File

@@ -10,6 +10,7 @@
.carouselContent {
gap: var(--Spacing-x1);
align-items: end;
}
}