Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-624

html5 archetype displayed incorrectly in small browser window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • examples
    • None

      When you create the html5 project from JBoss Central in JBoss Developer Studio and then run it on AS7 (Project -> Run As -> Run on server) it is opened in the internal browser by default. When the window size is too small, the page uses the mobile layout. I find this strange and unexpected.

      It was pointed out to me by Fred Bricon that this is a feature:

      With Modernizr, we use media queries and touch detection to see if we are on a mobile, touch based device
      or if we're at anything less than 480px.. this gives us a mobile ui on desktop browsers when resized to <480px
      width for testing.

      Can you consider changing this behavior? While it is not likely that users would have smaller windows of their regular web browsers than 480 pixels, it is a pretty common occurrence when in Eclipse as there are other toolboxes making the internal browser smaller.

              lholmqui@redhat.com Lucas Holmquist
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: