From a7593597a675ca4f8ee53348f124feda277dcf04 Mon Sep 17 00:00:00 2001 From: Hrishikesh Vaipurkar Date: Mon, 3 Nov 2025 07:57:09 +0000 Subject: [PATCH] Merged in fix/SW-3553-logged-in-details-page- (pull request #3016) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(SW-3553): Fixed scroll lock after payment failure & user menu open Approved-by: Joakim Jäderberg --- .../lib/components/EnterDetails/Payment/BookingAlert/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/booking-flow/lib/components/EnterDetails/Payment/BookingAlert/index.tsx b/packages/booking-flow/lib/components/EnterDetails/Payment/BookingAlert/index.tsx index 8f9a33de2..4a39d1532 100644 --- a/packages/booking-flow/lib/components/EnterDetails/Payment/BookingAlert/index.tsx +++ b/packages/booking-flow/lib/components/EnterDetails/Payment/BookingAlert/index.tsx @@ -129,6 +129,7 @@ export default function BookingAlert({ isVisible = false }: BookingAlertProps) { const el = ref.current if (showAlert && el) { + document.documentElement.style.overflow = "" window.scrollTo({ top: el.offsetTop - getTopOffset(), behavior: "smooth",