From 5291beb9d4050b989abc12a6a44b05c9fce6d50d Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Fri, 20 Nov 2020 09:26:59 +0100 Subject: [PATCH] fix(modal): fix scrolling to top when modal exists --- addon/templates/components/uk-modal.hbs | 1 + 1 file changed, 1 insertion(+) diff --git a/addon/templates/components/uk-modal.hbs b/addon/templates/components/uk-modal.hbs index d2ae771f..d14d5d77 100644 --- a/addon/templates/components/uk-modal.hbs +++ b/addon/templates/components/uk-modal.hbs @@ -13,6 +13,7 @@ escapeDeactivates=true clickOutsideDeactivates=true returnFocusOnDeactivate=true + preventScroll=true ) }} >