mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 18:32:20 +02:00
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
@ -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…
x
Reference in New Issue
Block a user