mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +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:
@@ -116,7 +116,7 @@
|
||||
&:not(.minimized) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100vh !important;
|
||||
height: 300px !important;
|
||||
padding-top: @header-height-phone;
|
||||
|
||||
&:before {
|
||||
|
Reference in New Issue
Block a user