Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window scrolls down on 'Page down' keypress in message input field #11702

Closed
Hativ opened this issue Aug 7, 2018 · 6 comments
Closed

Window scrolls down on 'Page down' keypress in message input field #11702

Hativ opened this issue Aug 7, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@Hativ
Copy link

Hativ commented Aug 7, 2018

Description:

If my cursor is in the chat message input field and I press the "Page down" key on my keyboard, the whole Rocket Chat scrolls down. This is caused by the following css:

.main-content {
  margin-bottom: 25px;
}

I fixed it by putting

.main-content {
  margin-bottom: 0
}

in Layout -> Custom CSS.

Steps to reproduce:

  1. Click in chat message input
  2. Press "Page down" key

Expected behavior:

Nothing should happen.

Actual behavior:

Window content scrolls down.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.66.3
@ggazzo ggazzo added the ui/ux label Aug 13, 2018
@ggazzo ggazzo added this to the 0.69.0 milestone Aug 13, 2018
@madguy02
Copy link
Contributor

@tassoevan @rssilva i guess this is fixed in the latest version

@tassoevan
Copy link
Contributor

@Hativ Can you inform what browser showed that behavior?

@Hativ
Copy link
Author

Hativ commented Aug 21, 2018

@madguy02 It's still the same with 0.68.3.
@tassoevan Chromium 68.0.3440.106 and Rocket.Chat+ Desktop App 2.11.0

@tassoevan
Copy link
Contributor

@Hativ I couldn't reproduce it; however, I think that margin causes a similar issue in mobile browser when scrolling from the chat header.

@tassoevan
Copy link
Contributor

tassoevan commented Oct 2, 2018

@Hativ Any change in the latest version? #12038 may have changed this as a side effect.

@Hativ
Copy link
Author

Hativ commented Oct 29, 2018

@tassoevan Tested it with 0.70.4 and it seems to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants