React-native-navigation: [iOS] showModal custom animation Platform inconsistency

Created on 7 May 2019  路  17Comments  路  Source: wix/react-native-navigation

Issue Description

showModal animations options differ on iOS and Android.

Related issue: #4886 and maybe this? #5036

Steps to Reproduce / Code Snippets / Screenshots

Navigation.showModal({
  stack: {
    children: [
      {
        component: {
          name: 'COMPONENT_NAMAE',
          options: {
            animations: {
              showModal: {
                // Works on Android but not on iOS
                alpha: {
                  from: 0,
                  to: 1,
                  duration: 250,
                },

                // Only works on iOS
                content: {
                  alpha: {
                    from: 0,
                    to: 1,
                    duration: 250
                  }
                }
              },
            },
          },
        },
      },
    ],
  },
})

The same config is applicable in dismissModal animations option as well as single component showModal.


Environment

  • React Native Navigation version: 2.18.4
  • React Native version: 0.59.3
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): all
iOS acceptebug 馃搶 pinned

Most helpful comment

Fixed in v5 :)

All 17 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

This still an issue

Still an issue.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

Not stale :(

Still an issue. on v3

And v2 of course.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

Still an issue :(

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

pleasse it's still an issue

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

Not resolved.

still and issue, and animation fade didn't work on android 6-7

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

Fixed in v5 :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yedidyak picture yedidyak  路  3Comments

switchtrue picture switchtrue  路  3Comments

EliSadaka picture EliSadaka  路  3Comments

tmaly1980 picture tmaly1980  路  3Comments

bdrobinson picture bdrobinson  路  3Comments