From 1f8b2c8c148230f5750d7ead6b37a59dd3780103 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Wed, 28 Jan 2026 13:04:01 +0000 Subject: [PATCH] fix(BOOK-663): Added scroll false to info card buttons on hotel pages Approved-by: Bianca Widstam --- .../components/ContentType/HotelPage/Facilities/index.tsx | 1 + .../components/ContentType/HotelPage/Facilities/utils.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/scandic-web/components/ContentType/HotelPage/Facilities/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/Facilities/index.tsx index d1c499b5c..7a5e3f98b 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/Facilities/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/Facilities/index.tsx @@ -67,6 +67,7 @@ export async function Facilities({ heading={facility.heading} secondaryButton={{ href: facility.sidepeekHref, + scrollOnClick: false, text: intl.formatMessage({ id: "common.readMore", defaultMessage: "Read more", diff --git a/apps/scandic-web/components/ContentType/HotelPage/Facilities/utils.ts b/apps/scandic-web/components/ContentType/HotelPage/Facilities/utils.ts index ca170dd10..c51a4e160 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/Facilities/utils.ts +++ b/apps/scandic-web/components/ContentType/HotelPage/Facilities/utils.ts @@ -131,11 +131,13 @@ export function mapActivityCardsToInfoCards( } mappedCard.primaryButton = { href: `?s=${card.sidepeekSlug}`, + scrollOnClick: false, text: card.ctaText, } } else { mappedCard.secondaryButton = { href: `?s=${card.sidepeekSlug}`, + scrollOnClick: false, text: card.ctaText, } }