We have a nested set of modals and the the viewContactForm is the leaf modal. When the user taps done it dismisses all modals. The desired behaviour is to dismiss only the contact form. I believe the line quoted is the issue. It is dismissing the rootViewController when it should in fact dismiss the contactViewController in question.
https://github.com/morenoh149/react-native-contacts/blob/6f83c6e4ce44248b16367ed1d8b1e0e1469b8450/ios/RCTContacts/RCTContacts.m#L935
We have a nested set of modals and the the
viewContactForm
is the leaf modal. When the user taps done it dismisses all modals. The desired behaviour is to dismiss only the contact form. I believe the line quoted is the issue. It is dismissing the rootViewController when it should in fact dismiss thecontactViewController
in question.Thanks!