From 513689226ce1a5c48387577f3965964f764b34e2 Mon Sep 17 00:00:00 2001 From: Evgeny Vasiliev Date: Wed, 3 Oct 2018 22:19:42 +0300 Subject: [PATCH] fix(modal): fixes modal with long content on click backdrop scroll to .modal-content top --- src/components/modal/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/modal.js b/src/components/modal/modal.js index 36e3aae7bef..c3bbcc02374 100644 --- a/src/components/modal/modal.js +++ b/src/components/modal/modal.js @@ -657,7 +657,7 @@ export default { content && !content.contains(evt.relatedTarget) ) { - content.focus() + content.focus({preventScroll: true}) } }, // Resize Listener