mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
set autofocus to true
This commit is contained in:
parent
acee74bd67
commit
40162db105
@ -211,12 +211,13 @@ class ComtyApp extends React.Component {
|
||||
return app.DrawerController.open("searcher", Searcher, {
|
||||
...options,
|
||||
componentProps: {
|
||||
renderResults: true
|
||||
renderResults: true,
|
||||
autoFocus: true,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
return app.layout.modal.open("searcher", (props) => <Searcher renderResults {...props} />)
|
||||
return app.layout.modal.open("searcher", (props) => <Searcher autoFocus renderResults {...props} />)
|
||||
},
|
||||
openFullImageViewer: (src) => {
|
||||
const win = new DOMWindow({
|
||||
|
Loading…
x
Reference in New Issue
Block a user