mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
0c35edd372
refs https://github.com/TryGhost/Ghost/issues/9724 - `autofocus="true"` in Safari was overriding the custom focus method which keeps the scroll position locked
14 lines
441 B
Handlebars
14 lines
441 B
Handlebars
<input
|
|
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"
|
|
oninput={{action (mut href) value="target.value"}}
|
|
onkeydown={{action "inputKeydown"}}
|
|
/>
|
|
|
|
{{#if href}}
|
|
<button class="kg-input-bar-close" type="button" {{action "clear"}}>
|
|
{{svg-jar "close" class="ih2 stroke-midlightgrey-l2"}}
|
|
</button>
|
|
{{/if}}
|