wdb icon indicating copy to clipboard operation
wdb copied to clipboard

Scrollbar jumps up on backspace hiding current line

Open endangeredoxen opened this issue 8 years ago • 2 comments

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

endangeredoxen avatar Dec 05 '17 17:12 endangeredoxen

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

ptim avatar Jan 19 '18 01:01 ptim

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

ptim avatar Jan 19 '18 01:01 ptim