Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome is auto hiding vertical scroll bar

I have a problem.

Basically, I have 3 divs, one main container, and two divs, that will be half the width of the main container like so:

<div id="main">
    <div id="col1"></div>
    <div id="cold2"></div>
</div>

#col1 {
  overflow-y: auto;
  width: 48%
}
#main {
  width: 100%
}
#col2 {
  width: 48%
}

It seems that, the problem is that every time I dynamically add content to Col1, and i am expecting a scrollbar, chrome creates it, but hides it. So i have to go to the element and start scrolling via wheel in order to see it. Is there a way to over ride it?

like image 473
theintersect Avatar asked Feb 26 '13 19:02

theintersect


People also ask

Why does my vertical scroll bar disappear?

Go to Settings / Ease of Access / Display and turn off Automatically hide scroll bars in Windows. Scroll bars will then always be full-size in many (but not all) places.

How do I stop my scroll bar from hiding?

Click on Start > Ease of Access. Scroll down on the left and Check or uncheck Automatically hide scroll bars in Windows.


1 Answers

This is a Mac setting that Chrome is obeying. Go to "System Preferences > General" and change "Show scroll bars" setting to "Always"

like image 134
jimbishopp Avatar answered Sep 25 '22 10:09

jimbishopp