mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-02-06 23:35:33 +01:00
remove autofocus property for android
This commit is contained in:
parent
909aaf8d44
commit
a197bda145
@ -38,7 +38,7 @@ export class SearchBox extends Component {
|
||||
// required for firefox / webview usage in mobile clients
|
||||
const inputInWebView = document.querySelector(`.${SEARCHBOX_CLASSNAME} input`)
|
||||
if (inputInWebView && this.autofocus) {
|
||||
inputInWebView.focus()
|
||||
setTimeout(() => inputInWebView.focus(), 100)
|
||||
}
|
||||
}
|
||||
|
||||
@ -72,7 +72,6 @@ export class SearchBox extends Component {
|
||||
placeholder="Find stickers …"
|
||||
value=${this.value}
|
||||
onKeyUp=${this.search}
|
||||
autoFocus=${this.autofocus}
|
||||
/>
|
||||
<div class=${className} title=${title} onClick=${onClick}>
|
||||
<span class="icon ${iconToDisplay}" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user