Samuel
Now if only I could figure out how to allow swipes to pass through the bio text, while still allowing link presses…
1 1
Samuel
@samuel.fm
Why doesn’t <Text> have the pointerEvents prop, it kills me…
1
hailey
tamagui text does 😎 you can do this of course, but its problematic whenever theres a bunch of links. people expect to be able to scroll the *whole* region, but anything (follow button, tab bar, etc) isnt... i *know* it isn't and constantly find myself getting "stuck"
1 1
hailey
so i have a custom header that i use (animates the image up and away, moves the avatar up, etc) this works great with or w/o this library. the annoying part i *didnt* want to have to deal with on my own is getting the bio area to not have to be a part of the list...
2 2
Samuel
Ohhh I see. Wait, so you could some sort of insane layout where the header has a hole it in for the bio text, and then the tabs, and then the rest of the list. Interesting…
1 1
hailey
yea...its a bad solution though. i haven't looked at that lib's codebase extensively yet so...i might try this out tomorrow (today lol why am i awake right now)
2 1
hailey
i THINK (with question marks, quotes, bold, asterisks...) reanimated might be the solution here...well i know it is but the question is how...that lib makes it seem like a nested scroll view, but it isn't of course. maybe if we animate the "collapse" of the bio?
2 2
Samuel
I think the header part needs to be covered by a gesture handler, which somehow splits gestures to apply them to both the header and the scroll view at the same time. Then all our problems would be solved
1
hailey
hmmm..that also made me think, doesn't the gesture handler library have a pressable component? does that handle some of the weird issues we are having? *opens docs*
1
1 more reply
Samuel
by the end of this you’re gonna be remaking the entire goddamn ecosystem lmao
2
hailey
i *could* make the bio part of the list, then the tab bar part of the list (as a sticky index), but then there's weirdness when switching tabs and dealing with scroll position (plus now the tab bar is part of the list and not outside the pager view lol)
1