0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Koenig - Fixed Safari scrolling to bottom of post when using link input

refs https://github.com/TryGhost/Ghost/issues/9724
- `autofocus="true"` in Safari was overriding the custom focus method which keeps the scroll position locked
This commit is contained in:
Kevin Ansfield 2018-07-18 12:54:09 +01:00
parent ea851ebaad
commit 0c35edd372

View file

@ -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"}}
/>