-
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
Two buttons in ion-nav-buttons side right on Android 4.4 #930
Comments
What browser/version does it not work on? |
This was happening on a Galaxy Note 3...I have two of them, one Verizon and on Sprint. Thee only reason I mention that is because the Sprint one is running Kit Kat....this happened on the one for Kit Kat. |
I noticed this too when trying to override the right nav buttons. When I provide a view with 2 buttons, instead of them replacing the 1 button, a new div was created underneath the previous one, causing me to have 3 right buttons in 2 rows, one of which overlapped into the content area. Using 1.0.0-beta on safari EDIT: To get around this issue, I had to remove the ion-nav-bar from my ion-pane, and put a specific ion-nav-bar in every view. Not as ideal as how I was updating the nav bar in 0.9.26, but it works for now. |
Ah, I see the problem! Thanks. Will fix. On Fri, Mar 28, 2014 at 2:49 PM, niahmiah notifications@github.com wrote:
|
Fixed! From the commit message:
|
I have this fix and am still having the same result here is the code:
I still am NOT experiencing this issue on Android 4.3, but on 4.4.2 I am. |
Hi @kopeltech, This is actually a different problem, but definitely weird. Only getting this on Android 4.4 too! css, why? |
+1. Same issue here on 4.4+ |
+1, have the same problem with 4.4.2. For both left and right ion-nav-button. |
+1, have this problem. Happens with Android 4.4.4 (19) . iOS 7 (7.0) is fine. Web (google chrome) is fine. |
+1. I am also having this issue in Android kitkat. I tried simulating this issue for some time. And found that, when there are more than one button inside ion-nav-buttons, the width to adjust the buttons inside ion-nav-buttons is falling short. Lets say, I have two buttons, one is 54px width and other is 45px. the width for these buttons is is exactly 99px - which was not enough for ion-nav-buttons. That is reason it is wrapping to next line. In debugger console, if you try altering width (say 102px). it works perfectly fine. |
.platform-android .secondary-buttons button,
.platform-android .primary-buttons button {
float: left;
} That works for me as a temporary solution. |
This should be fixed in the nightly build via eef1d32 |
Try to remove all the spaces between tags on ion-nav-buttons. Take a look on this topic: |
The same issue with Samsung devices. I tried on Nexus and Huawei phones and It worked correctly. |
I had the same issue on Sony running Android 4.4 and this solved the issue. Thanks Mike. |
I also had the same issue on 4.4.2, adding comment blocks |
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. |
With two buttons in my
ion-nav-buttons
tag withside="right"
the second button is not floated properly, and goes goes into the content.I have the "exact" same app running on the same phone model but it is working. Not sure why this is happening intermittently.
The text was updated successfully, but these errors were encountered: