react-native-sortable-listview icon indicating copy to clipboard operation
react-native-sortable-listview copied to clipboard

fix issue #125 - extra spacing at the bottom of list

Open EJohnF opened this issue 7 years ago • 2 comments

I don't sure, why there was additional spacing for scrolling of two-row size. But at least it solve the problem #125

EJohnF avatar Dec 08 '17 20:12 EJohnF

Thanks for you contributing, I've tested it, I think the extra spacing is still needed when you drag your item to the bottom, but we should use this.state.active.layout.frameHeight instead of this.state.active.layout.frameHeight * 2 for the extra spacing

BTW, there would be janky after the change, I'll figure out a better solution

nihgwu avatar Dec 09 '17 07:12 nihgwu

or, may be, add this.state.active.layout.frameHeight only when there is no footer?

EJohnF avatar Dec 09 '17 08:12 EJohnF