1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00

Automatically focus on composer textarea on iOS. closes flarum/core#995

This commit is contained in:
Sheldon Fernandes
2016-09-03 23:11:56 +09:30
committed by Toby Zerner
parent df247925d4
commit f20b35080b
3 changed files with 10 additions and 14 deletions

View File

@@ -362,6 +362,7 @@ class Composer extends Component {
if (this.isFullScreen()) {
this.$().css('top', $(window).scrollTop());
this.showBackdrop();
this.component.focus();
}
}