Closed benjaminben closed 6 years ago
Okay I got it... ~shrug~ not really sure what the problem was in the sim, but ever since rebuilding the component from scratch I haven't had any memory leak issues. I also figured out at a way around the hack I was doing, idk why the other day when I started on this component I wasn't able to get smooth animation using useNativeDriver
for user dragging the info container, buttttt it works now so I'mma roll with it...
I wanna get this into the latest build, or at least whatever branch you work on before deploying for Prem. There are still some issues -- I fixed or at least improved what I perceived to be the jankiest parts of rearranging photos, namely the bug wherein
onRelease
happens to the photo_panResponder
without actually triggering a release... basically I just made it so scrolling and the trash being apparently are a lot less likely to be issues.The more annoying garbage is in
ProfileInfoView.js
. This has been a nightmare. I'm trying to have smooth spring animations when the user releases the info container, but it's been a really difficult dance when trying to also put a gradient/whatever background behind the info and having the bottom edge not be visible as it bounces around. (Can't attach gif because it's crashing the simulator :[) I understand if you don't wanna merge, let me know what you wanna do here, my brain is fried.