Fixed mobile search focus - keyboard collapse/focus (#5766)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
98baf1536e
Коммит
1167b39185
@@ -25,6 +25,7 @@ export default class SuggestionBox extends React.Component {
|
||||
this.handleCompositionEnd = this.handleCompositionEnd.bind(this);
|
||||
this.handleKeyDown = this.handleKeyDown.bind(this);
|
||||
this.handlePretextChanged = this.handlePretextChanged.bind(this);
|
||||
this.blur = this.blur.bind(this);
|
||||
|
||||
this.suggestionId = Utils.generateId();
|
||||
SuggestionStore.registerSuggestionBox(this.suggestionId);
|
||||
@@ -189,6 +190,10 @@ export default class SuggestionBox extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
blur() {
|
||||
this.refs.textbox.blur();
|
||||
}
|
||||
|
||||
render() {
|
||||
const {
|
||||
type,
|
||||
|
||||
Ссылка в новой задаче
Block a user