Open weotch opened 5 years ago
This adds support for the useKeyboard option: https://github.com/ayamflow/virtual-scroll/blob/master/src/index.js#L37.
useKeyboard
Also, it fixes issues where a user might set a boolean option to false explicitly but, instead, the default value would be use. Like right now, if preventTouch is false like:
false
preventTouch
new SmoothCustom({ vs: { preventTouch: false } })
... It will get re-set to true via:
true
this.options.vs.preventTouch || true
This adds support for the
useKeyboard
option: https://github.com/ayamflow/virtual-scroll/blob/master/src/index.js#L37.Also, it fixes issues where a user might set a boolean option to
false
explicitly but, instead, the default value would be use. Like right now, ifpreventTouch
isfalse
like:... It will get re-set to
true
via: