react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

Using the default Android 9 animation for stack/modal push

Open drewhamlett opened this issue 6 years ago • 9 comments

Issue Description

I think in Android 9 they introduced a new animation that I see all apps using on my phone. The slide up animation doesn't seem to be the default anymore. I don't think it's necessary to try to recreate this with the animation properties since it's a default thing. Much like the default iOS transition.

Steps to Reproduce / Code Snippets / Screenshots

ezgif-7-ffdf3866b7e1

ezgif-7-87bbe88f0118

ezgif-7-a1019b128087

If you create a new react-navigation stack with the native stack it uses the correct one by default. It's a little off because the status bar doesn't behave correctly.

animation

Thanks for any help!


Environment

  • React Native Navigation version: 6.3.0
  • React Native version: 0.60
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Both

drewhamlett avatar Mar 20 '20 13:03 drewhamlett

Hey @drewhamlett 👋 These are Activity and Fragment animations. The reason your app doesn't leverage these animations is simply because RNN uses neither Activities or Fragments.

To use these animations, we'll first need to implement enter and exit animations for both appearing and disappearing screens. Right now, when pushing a screen you can only animate the entering (pushed screen) or the exiting (popped) screen.

I plan to get to this by next quarter 🙏

guyca avatar Apr 19 '20 12:04 guyca

Hi, This would be really appreciated, thanks for putting it in the backlog, any update on the timeline? 🙏

remstos avatar Aug 28 '20 12:08 remstos

Hey @remstos This is still planned and prioritised unfortunately this keeps getting delayed by more important tasks.

guyca avatar Aug 30 '20 08:08 guyca

Hi @guyca

Is there any update regarding this? This slide-from-bottom animation looks really outdated nowadays...😼

todorone avatar Jul 15 '21 13:07 todorone

I'd be happy to have an update on this too, or someone kindly sharing the animation settings required to obtain this effect, thanks ;)

badaz avatar Jul 27 '21 20:07 badaz

@guyca Is there have any update? Thanks :)

samjayhk avatar Nov 09 '21 06:11 samjayhk

@guyca has there been any progress on this matter? Tx ;)

badaz avatar Mar 07 '22 14:03 badaz

still going on?

jeffinhk avatar Jul 05 '23 07:07 jeffinhk

still same

galaxykhh avatar Jan 10 '24 18:01 galaxykhh