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

Scrollbar jumps up on backspace hiding current line #104

Open
endangeredoxen opened this issue Dec 5, 2017 · 2 comments
Open

Scrollbar jumps up on backspace hiding current line #104

endangeredoxen opened this issue Dec 5, 2017 · 2 comments

Comments

@endangeredoxen
Copy link

If the console window grows so that the input is at the bottom of the screen, pressing backspace causes the scrollbars to jump up one line thus hiding the current input behind the footer
capture
.

This appears to be caused by a calc in the following section of the css:

.split {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 64px - 40px); }
  @media screen and (max-width: 1024px) {
    .split {
      min-height: calc(100vh - 56px - 40px); } }
  .split .flex {
    flex: 1 1 calc(50vh - 64px - 40px);
    /* IE */
    /* FF scroll */
    min-height: 0; }
    @media screen and (max-width: 1024px) {
      .split .flex {
        flex: 1 1 calc(50vh - 56px - 40px); } }
    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
      .split .flex {
        height: calc(50vh - 64px - 40px); } }
@ptim
Copy link
Contributor

ptim commented Jan 19, 2018

I'm experiencing this, too - using the up and down arrow keys also triggers the issue.

@ptim
Copy link
Contributor

ptim commented Jan 19, 2018

my apologies! this is fixed in v3.1.6, and this issue is a duplicate of #103 - happy days!

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

No branches or pull requests

2 participants