mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-02 14:18:35 +02:00
set caret to end
This commit is contained in:
parent
4f71a32bcf
commit
6c1cddf33f
@ -429,6 +429,9 @@ class SongSelect{
|
||||
}else if(this.search.active === 0){
|
||||
this.searchSetActive(null)
|
||||
this.search.input.focus()
|
||||
setTimeout(() => {
|
||||
this.search.input.setSelectionRange(this.search.input.value.length, this.search.input.value.length)
|
||||
}, 0)
|
||||
}else if(Number.isInteger(this.search.active)){
|
||||
this.searchSetActive(this.search.active-1)
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user