maybe window focus should be ignored so focus is left as what it was
but with this at least clicking on a text input will not make you be thrown into composer instead Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
46bb29a3af
commit
2bcb381aa7
1 changed files with 3 additions and 1 deletions
|
@ -906,7 +906,9 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
onFocus: function(ev) {
|
||||
dis.dispatch({action: 'focus_composer'});
|
||||
if (document.activeElement.textLength === undefined) {
|
||||
dis.dispatch({action: 'focus_composer'});
|
||||
}
|
||||
},
|
||||
|
||||
showScreen: function(screen, params) {
|
||||
|
|
Loading…
Reference in a new issue