Skip to content

[0.63.0][IOS] Modal onDismiss no longer working on IOS #29455

Closed

Description

@raymochi

Description

On 0.62.2 onDismiss functions were called on modals being closed. After upgrading to 0.63.0, onDimiss functions are no longer called. This was working fine before upgrading from 62.2 to 63.

React Native version: 0.63.0

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. Import { Modal } from react-native
  2. Add modal to render with a function passed into onDismiss property

Expected Results

onDimiss function should be called

Activity

  1. changed the title [-]Modal onDismiss no longer working on IOS[/-] [+]Modal onDismiss no longer working on IOS [0.63.0][/+] on Jul 21, 2020
  2. changed the title [-]Modal onDismiss no longer working on IOS [0.63.0][/-] [+][0.63.0][IOS] Modal onDismiss no longer working on IOS[/+] on Jul 21, 2020
  3. added
    Needs: Environment Info
    on Jul 21, 2020
  4. github-actions commented on Jul 21, 2020

    @github-actions
    ⚠️ Missing Environment Information
    ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.
  5. chrisglein commented on Jul 21, 2020

    @chrisglein

    Realize that 0.63 is new enough that you can't repro in a Snack, but it would help if you pointed to a Snack that shows this working pre-0.63.

  6. added
    Needs: Repro
    and removed on Jul 21, 2020
  7. removed
    Needs: Environment Info
    on Jul 21, 2020
  8. github-actions commented on Jul 21, 2020

    @github-actions
    ⚠️ Missing Reproducible Example
    ℹ️ It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.
  9. andres-torres-marroquin commented on Jul 23, 2020

    @andres-torres-marroquin

    @chrisglein I made an example using Expo SDK 38.0.0, which shows that the behavior is correct in RN 0.62 https://snack.expo.io/@srpoder/excited-cheese

    Also the RN Documentation specifies that onDismiss should be available on RN 0.63 https://reactnative.dev/docs/modal#ondismiss

  10. 10 remaining items

  11. mi-mazouz commented on Nov 25, 2020

    @mi-mazouz

    still have this issue with react native 0.63.3

  12. added a commit that references this issue on Dec 10, 2020
  13. retyui commented on Jan 18, 2021

    @retyui
    Contributor
  14. ramakula commented on Feb 9, 2021

    @ramakula

    I have upgraded to 0.63.4 and it is still not fired on iOS :(

  15. ramakula commented on Feb 9, 2021

    @ramakula

    @retyui It is not part of 0.63.4 FYI..

    Screen Shot 2021-02-09 at 1 51 39 PM

  16. retyui commented on Feb 17, 2021

    @retyui
    Contributor

    But the issue already closed? but fix not released yet

  17. ramakula commented on Feb 17, 2021

    @ramakula

    Yeah so weird @retyui . What I hear is this won't be backported to 63 because of significant changes happening in 64. We will have to wait to 64

  18. Harshitha91 commented on May 17, 2021

    @Harshitha91

    Any update about the issue?

  19. AlexandreHauber commented on Jun 4, 2021

    @AlexandreHauber

    Still facing this issue RN 0.64.1

  20. afonso-tsx commented on Jul 23, 2021

    @afonso-tsx

    onDismiss was working on 0.63.4, not working on 0.64.2 now.

  21. locked as resolved and limited conversation to collaborators on Nov 14, 2021
  22. added
    Resolution: Locked
    on Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ModalPlatform: iOSResolution: LockedResolution: PR Submitted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions