trpfsu Profile Banner
Ed Profile
Ed

@trpfsu

Followers
2K
Following
670
Media
70
Statuses
241

code n stuff

New Jersey, USA
Joined January 2025
Don't wanna be here? Send us removal request.
@trpfsu
Ed
1 day
Forgot to mention. It would be cool to define multiple shared bounds w/ different animations. you can return a bounds object with your shared bound id to apply animated styles individually
Tweet media one
Tweet media two
0
0
2
@trpfsu
Ed
1 day
Right now it's VERYYY experimental. This mostly will be inspired by shared transitions like in instagram, TikTok, the shop app. Anyways, thank you guys for inspiring me
1
0
8
@trpfsu
Ed
1 day
3) The name could change, but I really like the way Android differentiates their shared animations, element and bound. I think bound is more fitting in this case. Shared ELEMENTS is out of my scope but thankfully reanimated 4 will eventually perfect this.
1
0
0
@trpfsu
Ed
1 day
^^ The reason for this, some apps get fancy. The underlying background for the shared element scale down, while the shared element scales into the new screen ofc, I think this is the best way of going about it.
1
0
0
@trpfsu
Ed
1 day
2) My thinking process is to keep the api the same. You SHOULD be able to animate your shared bounds, ideally this would be set to a preset, but the option is there if you ever need it.
Tweet media one
Tweet media two
1
0
3
@trpfsu
Ed
1 day
Eventually I'll show more complex examples, but .1) A new key that we'll expose is called previous. We can use current and next to animate screen transitions. Now we can use previous to animate our shared bounds
Tweet media one
1
0
3
@trpfsu
Ed
1 day
Thought I'd start documenting some stuff, this is just a veryyyy basic example and something that I hope in the end could work out great for shared elements
Tweet media one
Tweet media two
2
1
51
@trpfsu
Ed
1 day
shared elements are SO exhausting.
2
1
14
@trpfsu
Ed
4 days
RT @sheehanmunim: Just implemented react native screen transitions by @trpfsu in my new app, Lackin. Can't wait to implement new features aโ€ฆ.
0
4
0
@trpfsu
Ed
4 days
the old syntax was driving me crazy, this is much more enjoyable to write. out in the next version
Tweet media one
Tweet media two
3
0
33
@trpfsu
Ed
5 days
still very experimental but I really doubt I could ever get it to work alongside screen-transitions, the only thing I hate is that noticeable lag, you can literally see when my push event runs in the index screen.
0
0
1
@trpfsu
Ed
5 days
b is a transparent modal that has pointer events set to none, causing the underlying gesture to still be able to run correctly.
Tweet media one
2
0
4
@trpfsu
Ed
5 days
was a little inspired of handling forward navigation via gestures, this is a very ugly example, but I think this can lead to very customizable screens.
5
2
99
@trpfsu
Ed
5 days
I think in the next version it'd be cool for . -more presets.-handle gesture driven push events as well ? ๐Ÿคจ.-handle that ugly new syntax. and I can't think of anymore, im beat - if you have any cool ideas drop a comment pls.
4
0
3
@trpfsu
Ed
5 days
there's also a slight syntax change, but the old version still works, this just saves you a few keystrokes. personally think the new way looks a little ugly ngl, I'll have to figure this one out
Tweet media one
Tweet media two
1
0
1
@trpfsu
Ed
5 days
I also assume u guys also ditched wonky flatlist in favor of legend list ๐Ÿ˜ผ
Tweet media one
1
0
5
@trpfsu
Ed
5 days
react-native-screen-transitions v1.1.0 improves on nested scrollables inside gesture driven screens, on android and iOS
Tweet media one
Tweet media two
9
16
282
@trpfsu
Ed
6 days
RT @o_kwasniewski: Recently, I've worked on improving the built-in React Native modal! โœจ. I've introduced a new prop: `allowSwipeDismissal`โ€ฆ.
0
24
0