Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Conversation

jaspermdegroot
Copy link
Contributor

Adjusted grid blocks percentage width to prevent wrapping because of subpixel problem on older browsers. Set them back for modern browsers.
Fixes #2270

Adjusted width of 50/50 grid blocks with -.5px negative margin to prevent wrapping on BB5.
Fixes #2159

Filled the gap caused by the subpixel problem with negative margin on the last button.
Fixes #3341

Set right border for last button and all right buttons in case of more than 5 buttons. Only when not in header/footer (i.e. when not full width).

Made sure that the navbar button styling as we intended always gets applied.

Test page and full changelog at http://ugomobi.github.com/navbar/

…ent wrapping on older browsers and set it back for modern browsers. Minor adjustment for grid-a to fix BB5 issue.
…ht border on last button when not in toolbar.
@jaspermdegroot
Copy link
Contributor Author

@toddparker - Can you ask Zach to test this on some devices? Thanks!

@jcostanza
Copy link

Viewed test page using Android 2.3.4 in landscape and portrait and does fix the sub pixel issues I was encountering. Thanks @uGoMobi, I have been struggling with this one for a while.

@jaspermdegroot
Copy link
Contributor Author

Has been tested on BB 9000 - 5.0.0.628 device by @jasondscott and the BB5 navbar wrapping issue didn't occur anymore.

@Aetherpoint
Copy link
Contributor

There's still some weird stuff happening on some BB5 devices.

Galaxy Nexus - Android 4.0.X: No Problems
Galaxy Tab - Android 3.1: No Problems

Black Berry Bold - 7 Touch: No Problems
Black Berry Playbook - 2.0: No Problems
Black Berry Curve - 7.1: No Problems

Black Berry Curve - 5 Cursor:

Black Berry Storm II - 5.0 Touch:

Droid - Android 2.2 Touch: No Problems
HTC ARIA - Android 2.1: No Problems
TouchPad - WebOS 3.0.2: No Problems

Palm Pre II - WebOS 2.0.1: No Problems
Palm Pre - WebOS 1.4.5: No Problems

Nokia N9 - MeeGo 1.2: No Problems
Nokia C7-00 - Anna S3: No Problems

Nokia Lumia 800 - WP7.5: No Problems

HTC Trophy - WP 7.5: No Problems
HTC Surround - WP7 Touch: No Problems
LG Optimus 7 - WP7: No Problems

@Aetherpoint
Copy link
Contributor

The BB5 Storm II Touch and BB5 Curve Cursor are also 9550 and 9330 respectively.

@jasondscott
Copy link
Contributor

@Aetherpoint - Great Job at testing all of these. Thanks!

@johnbender
Copy link
Contributor

@Aetherpoint

Wooowheeee! Thanks for the extra effort guy.

@jaspermdegroot
Copy link
Contributor Author

@Aetherpoint - Thanks a lot for all the testing you did!!

While you were posting this comment I received test results from RIM for the Curve which confirms what you already noticed... there is still an issue there because of the different screen width.
We also concluded that we had to test on the Storm since this model has been shipped with BB5 and has different screen width as well.

The fix is not a generic one but custom, based on what has been reported. So I am going to make adjustments for the BB Curve and Storm which hopefully don't have a downside for other platforms/devices.

Thanks again!

Jasper

…to percentages for older browsers (wrapping still occured on IE7 on certain screen widths).
@jaspermdegroot
Copy link
Contributor Author

I modified the fix. Test page has been updated.

Results:

IE7 (tested with IETester) - no wrapping, small gap 1 or 2px depending on screen width

No wrapping and no gap:
IE8
BB Bold
BB Storm (tested on simulator)
Android 2.3 - Samsung S2
Opera Mobile (tested a few devices on simulator)
Safari desktop (on Windows)
Chrome (Linux and Windows)
Firefox (Linux and Windows)

There is an issue with Opera desktop with 33.333% width - there is a big gap. That is already there with current code and I don't think we can fix that.

We might have to test again on WP7 & WP7.5

@jasondscott will have it tested on BB Curve

@agcolom - Anne, could you please look at the test page on some iOS devices? Thanks!

@jasondscott
Copy link
Contributor

Looks good on Bold 9000 (5.0) and Curve (5.0). Also tested on 9930 (7.1), which is still looking good.

@jaspermdegroot
Copy link
Contributor Author

Issue on Opera desktop with 33.333% width blocks has been fixed in Opera version 12

…adding or border is set (note: not supported by IE7)
@Aetherpoint
Copy link
Contributor

Just tested on the following:

Kindle Fire 6.2.1
Nook Color Android 2.2
HP TouchPad WebOS 3.0.2
Galaxy Tab Android 3.1
Xoom Android 3.2.1
Ipad IOS 4.3
Droid 2.1, 2.2, 2.3, 4.0
Iphone ios5
HTC WP7
Trophy WP7.5
N9 MeeGo 1.2
Wave 3 bada 2.0

Everything works correctly and looks good

@zrmccarthy
Copy link

Sorry, the testing was done by me, I didn't realize that username was logged in.

@jaspermdegroot
Copy link
Contributor Author

@zrmccarthy

I now finally get it... you are Zach! :-)

Thanks for the test results! I am going to merge :-)

@zrmccarthy
Copy link

That is me! No problem, hope it helped

Zach McCarthy
[email protected]
508.868.7297


From: Jasper de Groot [[email protected]]
Sent: Saturday, June 16, 2012 5:23 AM
To: Zachary Richard McCarthy
Subject: Re: [jquery-mobile] Fixes navbar wrapping and gap issues (#4514)

@zrmccarthy

I now finally get it... you are Zach! :-)

Thanks for the test results! I am going to merge :-)


Reply to this email directly or view it on GitHub:
#4514 (comment)

@Aetherpoint
Copy link
Contributor

@uGoMobi

Yeah, sorry for the confusion! I'm Andrew, also working under Todd at the Filament Group. Glad to see this working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar buttons sub-pixel problem navbar ul breaking in IE7 Navbar wrapping on Blackberry OS 5
6 participants