naver / egjs

Javascript components group that brings easiest and fastest way to build a web application in your way.
https://naver.github.io/egjs
Other
935 stars 80 forks source link

User moves to 0 position in order to `prepending` #455

Closed sculove closed 7 years ago

sculove commented 7 years ago

Description

infiniteGrid checks scroll position on 'scroll' event in order to adding items. but, If user hold mouse button on zero point, infiniteGrid can't prepend items. this is problem time!!!

Steps to check or reproduce

  1. append
  2. append
  3. ...
  4. prepend
  5. prepend and hold mouse (position is zero)
  6. scroll down and up
sculove commented 7 years ago

Let's consider this case #456