Skip to content

Empty lines not shown in message input box #8543

@inducer

Description

@inducer

Description

Steps to reproduce

  • Open Riot/Web in Firefox
    • The bug has been present for as long as I can remember and remains present in 1.0.0rc1.
    • The issue occurs in Firefox (currently reproducing in FF 65 on Debian Linux, but has been present for as long as I can remember). Chrome 72.0.3626.53 seems unaffected.
  • Focus the message input box
  • Repeatedly hit Shift-Enter (Seven times for me)

Describe how what happens differs from what you expected.

  • Eventually the cursor disappears off the bottom of the screen. The scrollbar also appears to extend past the bottom of the visible screen area. The cursor is only scrolled into view once a printable character is entered.

bildschirmfoto von 2019-02-12 18-28-14

The cursor isn't shown in the view above due to an apparent limitation of the screenshot tool I am using, but when it is visible, its top third or so still sticks out above the bottom of the window edge. It is also possible to make the cursor disappear entirely by continuing to hit Shift-Enter.

As for relevance, I repeatedly hit this when entering long messages (e.g. ones containing source code snippets), when I want to insert vertical space, say below a code snippet. While it's easy enough to work around, it reeks of poor fit and finish, and it feels a bit disorienting when it happens.

Version information

  • Platform: web (in-browser)

For the web app:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerP2S-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions