r/reactnative • u/DJYEEZYWORLDPEACE • Jul 31 '22
I made this elastic scroll effect today
2
u/nilsepils94 Aug 01 '22
This looks sick! And it could be even cooler if it would only stretch the part you’re pulling. So if your finger is in the middle of the screen, and you’re pulling to refresh, it would not stretch the bottom half.
1
u/DJYEEZYWORLDPEACE Aug 01 '22
How would the bottom half adjust to the top half moving in position?
2
u/nilsepils94 Aug 01 '22
The bottom half would just move normally, but not get extra spacing between?
16
8
u/DigDugMcDig Jul 31 '22
Doesn't Apple own the patent on that?
0
Jul 31 '22
[deleted]
7
3
u/DigDugMcDig Aug 01 '22
The patent is for over scroll bounce and is like 10 years old, so OP can expect a cease and desist letter. Or not, idk, ianal.
2
u/LosingAnchor Aug 02 '22
Cool animation! How are you handling the font size between different devices - iPhone/iPad/etc so that messages aren't too small/big on different device sizes?
2
33
u/DJYEEZYWORLDPEACE Jul 31 '22
Code and details can be found here