From 0c35edd3726d4b07880c18be268e059abe987b07 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 18 Jul 2018 12:54:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Koenig=20-=20Fixed=20Safari=20sc?= =?UTF-8?q?rolling=20to=20bottom=20of=20post=20when=20using=20link=20input?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs https://github.com/TryGhost/Ghost/issues/9724 - `autofocus="true"` in Safari was overriding the custom focus method which keeps the scroll position locked --- .../addon/templates/components/koenig-link-input.hbs | 1 - 1 file changed, 1 deletion(-) diff --git a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.hbs b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.hbs index ad1ece0312..830abf92bc 100644 --- a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.hbs +++ b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-link-input.hbs @@ -2,7 +2,6 @@ placeholder="Enter url" value={{href}} class="kg-link-input pa2 pr6 mih-100 ba br3 shadow-2 f8 lh-heading tracked-2 outline-0 b--blue h10 nudge-top--8" - autofocus="true" oninput={{action (mut href) value="target.value"}} onkeydown={{action "inputKeydown"}} />