From c895143d4c538be4d828f595fb306bb0f661b467 Mon Sep 17 00:00:00 2001 From: TarunAdobe Date: Tue, 25 Jun 2024 10:33:58 +0530 Subject: [PATCH] chore: updated open condition in interactioncontroller --- packages/picker/src/InteractionController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/picker/src/InteractionController.ts b/packages/picker/src/InteractionController.ts index b9e21a5a2e9..c12ff2dc88b 100644 --- a/packages/picker/src/InteractionController.ts +++ b/packages/picker/src/InteractionController.ts @@ -51,6 +51,7 @@ export class InteractionController implements ReactiveController { if (this.overlay) { // If there already is an Overlay, apply the value of `open` directly. if (this.host.dependencyManager.loaded) { + this.overlay.willPreventClose = this.preventNextToggle !== 'no'; this.overlay.open = open; } this.host.open = open;