I'm making a rails app It is the cause and remedy when the infinite scroll using the scroll event trigger suddenly stops working at one time.
css property
auto;
This was the cause.
Apparently, the scroll event does not occur when scroll (scroll to deal with the element if it is out of the way) is specified in overflow.
It seems that the scroll event does not fire in Chrome that I was using because I specified auto.
## solution
#### **`overflow: auto;Or overflow: scroll;Erase`**
Recommended Posts