Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: inAppBrowser does not open when triggered inside a Modal. #79

Open
bylmzio opened this issue Jul 28, 2021 · 12 comments
Open

iOS: inAppBrowser does not open when triggered inside a Modal. #79

bylmzio opened this issue Jul 28, 2021 · 12 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bylmzio
Copy link

bylmzio commented Jul 28, 2021

Hi there,
the inappbrowser works very-well in android.
In iOS it works very well except in one situation, when you open the inappbrowser inside a modal.
Then it das not appear.

Which platform(s) does your issue occur on?

  • iOS
    Emulator and Device

Please, provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it)
  • Cross-platform modules: 6.5.13
  • Runtime(s): 6.5.3

Please, tell us how to recreate the issue in as much detail as possible.

open a link inside a modal.

Test Zip File

just run in ios
test.zip

@jdnichollsc
Copy link
Member

Hello mate, thanks for attaching a project, let me check 👍
PD: In the meantime, can you close the modal before to open the InAppBrowser? 🤔

@bylmzio
Copy link
Author

bylmzio commented Aug 3, 2021

Thank you for helping and answering.
No at this point closing the modal is not an option.
Maybe i can help to fix that problem?
I never debugged somehting like that...

@jdnichollsc
Copy link
Member

Hello mate, hope you're doing well

Do you need the modalEnabled option? Did you try without that option? What IDE are you using to debug your app?

@bylmzio
Copy link
Author

bylmzio commented Aug 5, 2021

yes i tried with modalEnabled true only. i am using vscode.

@jdnichollsc
Copy link
Member

Please try with modalEnabled in false and let me know 🙂

@bylmzio
Copy link
Author

bylmzio commented Aug 5, 2021

Please try with modalEnabled in false and let me know 🙂

Unfortunately it does not work with modalEnabled false.

@bylmzio
Copy link
Author

bylmzio commented Aug 5, 2021

i couldnt analyzed it very well, but it seems the inappbrowser is opening under the modal?
Because once i try to open it inside modal, it does not work in normal pages too.
This ist the reason why i think maybe it opens under the modal

@jdnichollsc
Copy link
Member

@bylmzio
Copy link
Author

bylmzio commented Aug 6, 2021

Do you have any idea what the problem is?

@jdnichollsc
Copy link
Member

No idea, let me know if you find any Apple documentation about this issue

@bylmzio
Copy link
Author

bylmzio commented Sep 7, 2021

@jdnichollsc any improvement on this ?

@jdnichollsc
Copy link
Member

@bunower sorry, I'm not working with NativeScript right now, any pull request is welcome in the meantime! 👍

@jdnichollsc jdnichollsc added enhancement New feature or request help wanted Extra attention is needed labels Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants