File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ Inherits all valid [FlatList props](https://facebook.github.io/react-native/docs
5252
5353
5454# Todo (PRs welcome!)
55- - [ ] Add native driver support
55+ - [x] Add native driver support
56+ - [ ] Implement with [ react-native-interactable] ( https://github.com/wix/react-native-interactable ) for better performance
5657- [ ] Rewrite with TypeScript
5758- [ ] Add support for FlatList ref
Original file line number Diff line number Diff line change @@ -160,22 +160,17 @@ const styles = {
160160 scrollBar : {
161161 position : 'absolute' ,
162162 width : 10 ,
163- backgroundColor : 'transparent'
163+ backgroundColor : 'transparent' ,
164+ alignItems : 'center'
164165 } ,
165166 touchArea : {
166- position : 'absolute ' ,
167- backgroundColor : 'transparent '
167+ backgroundColor : 'black ' ,
168+ alignItems : 'center '
168169 } ,
169170 thumb : {
170- position : 'absolute' ,
171- width : 7 ,
171+ width : 6 ,
172172 borderRadius : 4 ,
173- backgroundColor : 'white' ,
174- borderWidth : 0.2 ,
175- borderColor : 'black' ,
173+ backgroundColor : '#4C4C4C' ,
176174 elevation : 2
177175 }
178176} ;
179-
180- // event.nativeEvent.pageY; //distance of TOUCH from the top of the screen
181- // this.position.__getValue().y; //distance of thumb from the top of the screen
You can’t perform that action at this time.
0 commit comments