Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DropDown not expanding in IE 8

    Have a strange issue with the SelectItem in IE 8, the values are populated and can select the item with keyboard when the field is in focus, however the dropdown doesn't expand.

    I am using GWT 2.4 with SmartGWT nightly (6/25/12).

    In the Dev console, I notice this.

    Code:
    15:56:27.706 [ERROR] [rtaofclient] 15:56:27.705:MUP1:WARN:drawing:isc_PickListMenu_0_body:negative or zero area: height: 0, width: 216, refusing to draw
        Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
        Canvas.readyToDraw()
        Canvas.draw(_1=>undef, undef, undef, undef, undef, undef, undef, undef)
        Class.invokeSuper(_1=>null, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        Class.Super(_1=>"draw", _2=>Obj{length:8}, _3=>undef)
        GridRenderer.draw(undef, undef, undef, undef, undef, undef, undef, undef)
        ** recursed on Class.invokeSuper
    
    com.smartgwt.client.core.JsObject$SGWT_WARN: 15:56:27.705:MUP1:WARN:drawing:isc_PickListMenu_0_body:negative or zero area: height: 0, width: 216, refusing to draw
        Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
        Canvas.readyToDraw()
        Canvas.draw(_1=>undef, undef, undef, undef, undef, undef, undef, undef)
        Class.invokeSuper(_1=>null, _2=>"draw", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        Class.Super(_1=>"draw", _2=>Obj{length:8}, _3=>undef)
        GridRenderer.draw(undef, undef, undef, undef, undef, undef, undef, undef)
        ** recursed on Class.invokeSuper
        at sun.reflect.GeneratedConstructorAccessor74.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
        at java.lang.Thread.run(Thread.java:662)

    #2
    Any pointers? Thanks in advance!

    Comment


      #3
      I think I found the solution, we had line-height attribute defined in the custom css within the body tag, commenting that out seems to make the dropdowns work. yay!!

      We have HTML 5 doctype set in the html file <!DOCTYPE html>, so do we really need the following X-UA-Compatibility set at all?

      <meta http-equiv="X-UA-Compatible" content="IE=9">

      Comment


        #4
        The HTML5 doctype flag should be sufficient - no need for the explicit meta tag.

        Comment


          #5
          Thank you!

          Comment

          Working...
          X