-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
click event in ion-navbar not working in modal (Beta 11) #8776
Comments
Hello, thanks for using Ionic! If you remove |
Hi @jgw96 , unfortunately not. I just tried. Here is the code to open the modal:
Here is the modal:
And here is the image how it looks (without the tabs): Here how it should look with the tabs (tabs have the same background as navbar): |
Update: I tried with |
Here is the repo: https://github.com/dgroh/Issue8776 |
@jgw96 I fixed the issue. I put the |
Short description of the problem:
As per requirement, we need a
ion-navbar
in our modal, but a click event in theion-navbar
does not work, the click event is not even shown in the DOM. Usingion-toolbar
would fix the click event issue, but would also lead to a layout issue. We useion-modal
withion-tabs
. Theion-tab
has a gradient background following theion-navbar
background, which is not possible withion-toolbar
.What behavior are you expecting?
I'm expecting to be able to use
ion-navbar
in a modal with a close button to dismiss the modalSteps to reproduce:
ion-tabs
ion-navbar
to the tab pagesWhich Ionic Version? 2.0 Beta 11
Run
ionic info
from terminal/cmd prompt: (paste output below)Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Ionic CLI Version: 2.1.0-beta.3
Ionic App Lib Version: 2.1.0-beta.1
Node Version: v4.6.0
The text was updated successfully, but these errors were encountered: