-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Solved] Can't open modal in 3.6: invalid link #12518
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
Comments
Hello, thanks for using Ionic! Very excited to hear that you are building a PWA with it. Would you mind posting a small repo we could use to reproduce this issue? |
@vgb1993 can you pass data in create method
If it doesn't work then in Hope it helps. |
Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic! |
Hy there, I was away on hollydays, I'm back now. So I was creating a repo to replicate the error and I found out the cause of the problem. Basically I was doing a mistake in the components.module.ts. I was using IonicModule.forRoot() instead of IonicPageModule.forChild. I was confused with the new CLI generating the components.module.ts automatically. This was when the ERROR was happening in the new repo:
Then after some digging I found out I was importing the wrong modules. This is WORKING now:
So yeah, my fault! I'm so happy I find it, now I can move on. If anybody else get's stuck with this let me know. Thank you for your time, thank you for being awesome Ionic! |
BTW I have a couple of propositions to make regarding deep-linking in web projects, where is the right place to do that? |
Check this, we are also waiting for deep-linking in web #11377 |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Type: bug
Ionic Version: 2.x
Platform: all
Hello Ionic, I use Ionic to make PWA and I'm very happy with it. I've started a new project now and I can't figure out why the modals aren't opening. It's weird because I can push any page with:
this.navCtrl.push('PhotoPage')
but I can't open it in a modal:
The error says:
// photo.ts
// photo.module.ts
// package.json
Any help would be very very appreciated, If I can't use modals in this version I'll have to make a downgrade to a lower version. Thanks Ionic!
The text was updated successfully, but these errors were encountered: