You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03: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:
@@ -906,7 +906,9 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
onFocus: function(ev) {
|
||||
if (document.activeElement.textLength === undefined) {
|
||||
dis.dispatch({action: 'focus_composer'});
|
||||
}
|
||||
},
|
||||
|
||||
showScreen: function(screen, params) {
|
||||
|
||||
Reference in New Issue
Block a user