1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Improve mobile composer behaviour

- Don't scroll to the bottom of the discussion when selecting "Reply"
  from the menu if the composer is in full screen mode (ie. on mobile).
  ref #1271

- After posting a reply, scroll to the end of the discussion

- Reduce the textarea height - previously it was 100vh, but this doesn't
  account for the height of the iOS keyboard, so I've just arbitrarily
  chosen 300px instead. There may be a better solution for this.
  ref #1269
This commit is contained in:
Toby Zerner
2017-11-05 16:25:21 +10:30
parent 54597ee5eb
commit 094345de85
5 changed files with 25 additions and 12 deletions

View File

@@ -116,7 +116,7 @@
&:not(.minimized) {
position: absolute;
top: 0;
height: 100vh !important;
height: 300px !important;
padding-top: @header-height-phone;
&:before {