Kozea / wdb

An improbable web debugger through WebSockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrollbar jumps up on backspace hiding current line

endangeredoxen opened this issue · comments

commented

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); } }

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

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