osquery-site icon indicating copy to clipboard operation
osquery-site copied to clipboard

Visual "jumping" on schema page

Open zwass opened this issue 7 years ago • 8 comments

The scrollbar seems to jump in and out as the cursor enters and leaves the sidebar:

jumping

zwass avatar Feb 21 '18 19:02 zwass

@zwass are you still seeing this? I'm having trouble reproducing.

taylorkearns avatar May 29 '18 20:05 taylorkearns

scroll This is on macOS Chrome Version 66.0.3359.181 (Official Build) (64-bit)

zwass avatar May 29 '18 21:05 zwass

@zwass if you go to your Mac preferences, general check to see if you have this setting on:

general 2018-05-31 10-27-34

This is a non-default setting that Chrome will pickup and use.

atxpace avatar May 31 '18 14:05 atxpace

Firefox and Safari also exhibit this behavior with this setting on.

atxpace avatar May 31 '18 14:05 atxpace

This appears to be caused by the following styling code:

  &.noscroll {
    overflow: hidden;
  }

from commit for #17.

atxpace avatar May 31 '18 17:05 atxpace

@directionless Was there a reason for this issue being closed? This is still present on Linux and Windows on Google Chrome.

On my Firefox the vertical scroll bar for the whole page disappears as soon as I stop moving the mouse, so it seems the style doesn't need to compensate for that appearing, but on Google Chrome the scroll bar is always there, taking space, and causes a recalculation of the page width when it disappears while hovering the table name list.

On macOS Google Chrome this doesn't happen because the vertical scrollbars automatically disappear.

Smjert avatar Nov 20 '22 10:11 Smjert

I have no memory of why I closed this. Probably I thought it was fixed, if it's still present we can reopen. Though if no one is working on it, it feels kinda 🤷

directionless avatar Nov 20 '22 13:11 directionless

I think the root cause problem is when "overscroll" the side list, will trigger schema page scroll. so for now, when hover in side list, added noscroll to prevent schema page scroll, but it cause this visual jumping issue.

FWIK setting overscroll-behavior for side list, and remove 'noscroll' classname toggle in

will solve such problem.

https://caniuse.com/css-overscroll-behavior

hirohe avatar May 25 '23 02:05 hirohe