From cbff3319dcf5746199002e5ab895da042af93fc0 Mon Sep 17 00:00:00 2001 From: PioBar <72926984+Pio-Bar@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:52:45 +0200 Subject: [PATCH 1/5] fix: (CXSPA-7958) - Dialog trigger refocus (#19240) --- .../add-to-cart/add-to-cart.component.html | 1 + .../add-to-cart/add-to-cart.component.ts | 14 +++- .../added-to-cart-dialog-event.listener.ts | 2 +- .../cart/base/root/events/cart.events.ts | 6 ++ ...dp-pickup-options-container.component.html | 2 +- ...pickup-options-container.component.spec.ts | 18 ++++- .../pdp-pickup-options-container.component.ts | 73 +++++++++++++++---- .../pickup-options.component.html | 4 + .../pickup-options.component.spec.ts | 16 +++- .../pickup-options.component.ts | 33 +++++++-- .../feature-toggles/config/feature-toggles.ts | 7 ++ .../accessibility/focus-management.e2e.cy.ts | 18 +++++ .../spartacus/spartacus-features.module.ts | 1 + 13 files changed, 167 insertions(+), 28 deletions(-) diff --git a/feature-libs/cart/base/components/add-to-cart/add-to-cart.component.html b/feature-libs/cart/base/components/add-to-cart/add-to-cart.component.html index 57060104fee..cea53d5837f 100644 --- a/feature-libs/cart/base/components/add-to-cart/add-to-cart.component.html +++ b/feature-libs/cart/base/components/add-to-cart/add-to-cart.component.html @@ -27,6 +27,7 @@