messagerie-melanie2 / Roundcube-Skin-Melanie2-Larry-Mobile

Mobile Skin for Roundcube
GNU General Public License v3.0
73 stars 18 forks source link

Scrolling text in reply. #18

Open bartlomiejkida opened 7 years ago

bartlomiejkida commented 7 years ago

Hi

Please check this issue: Some Mail -> Reply -> [ at this point I would like to respond to scroll the text to see the entire contents - unfortunately scrolls all the same "Body" does not scroll. ]

If possible - please check this problem.

xrat commented 6 years ago

It seems I work around it by adding #composebody{overflow-y:scroll} to mail.css (i.e. mail.min.css on my live installation).

maurom commented 6 years ago

Thanks @xrat, will try your workaround. In the meantime, I was able to make it work by adding the line

body.trigger('keyup');   // force resize of textarea on first load

at the end of the layout_composeview() function on ui.js

Not my idea, though. I'll have to dig through my browser history to find the stackoverflow user who nailed it.

xrat commented 6 years ago

Strange, in Firefox 62 I get a ReferenceError: body is not defined, yet I can see the keyup is in effect. However, scrolling is not possible unless I also add my hack. BTW, I am using the text only compose editor. Scrolling always worked when I switched from text only to HTML.

Edit: I am running on Roundcube 1.2.9

sedric commented 6 years ago

For the text-only compose mode, I added this in mail.css (mail.min.css) :

#composeview-bottom textarea {
  overflow-y: scroll;
}