Are the viewports sized with or without browser chrome, like the address bar and bottom bar?
Great question! Right now, it doesn't take into consideration the browser or device address/bottom bars. We documented that here: https://github.com/bitcomplete/labs-delta-viewport-tester-vi... (Caveat #1). We plan to address this in the future, but at the moment, Viewport Tester works in a similar way to Chrome's native Device Inspector: it resizes the viewport to the exact dimensions.
Show HN: Test your website on 180+ device viewports (with multi-device mode)
31–40 of 53 posts
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#32"Mobile version not available" popup that cannot be closed is such an irony. Next time, test your website with a viewport tester :)
We have a specific plan on making this work on mobile, but for this initial version, we decided that making it limited to Desktop was okay (since, realistically, people who are doing frontend responsive testing, are most likely doing it on a wider display).
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#33Earlier quoted context omitted.
Great question! Right now, it doesn't take into consideration the browser or device address/bottom bars. We documented that here: https://github.com/bitcomplete/labs-delta-viewport-tester-vi... (Caveat #1). We plan to address this in the future, but at the moment, Viewport Tester works in a similar way to Chrome's native Device Inspector: it resizes the viewport to the exact dimensions.
If I could toggle between different states of the top/bottom bars I would use this tool every day.
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#34I am getting a "Mobile version not available" modal that wont go away on its own on desktop. I can trick it by making my browser full screen, refreshing, then resizing it back to a half sized window.
Ahh bug related to how we detect mobile. Would ya mind reaching out at hello@viewport-tester.com so I can get a few more details on this?
Now I wont even check it out because I didnt get that first impression on my phone. I will just forget it.
Just my 2c
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#35Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#36Earlier quoted context omitted.
Ahh bug related to how we detect mobile. Would ya mind reaching out at hello@viewport-tester.com so I can get a few more details on this?
That’s not a bug. Thats a feature. When I request desktop view in my iphone, it should just treat me as a desktop user. I know its buggy. I know its a horrible experience but I just wanna see what its like. Now I wont even check it out because I didnt get that first impression on my phone. I will just forget it. Just my 2c
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#37Earlier quoted context omitted.
If I could toggle between different states of the top/bottom bars I would use this tool every day.
Interesting: can you elaborate on this? Would love to better understand it, so we can consider adding this.
This is meant as a light hearted question: how could you have gotten this far making a viewport tester and the mobile website development journey without understanding and dealing with the most important and disruptive behavior in mobile viewports? Like I get that this is just a free project and it does what it does.
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#38Pretty cool stuff!
Re: Show HN: Test your website on 180+ device viewports (with multi-device mode)
#39Earlier quoted context omitted.
If I could toggle between different states of the top/bottom bars I would use this tool every day.
Interesting: can you elaborate on this? Would love to better understand it, so we can consider adding this.
* with and without the keyboard focused,
* in each of the preference states (e.g. tab bar vs single tab for iOS, which influences whether there’s a compact address/button bar on the bottom or an address bar at top plus a button bar at bottom), and
* both of those in portrait and landscape