Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4294

AutoCompleteTextField does not show suggestions when it is used on ModalWindow in InternetExplorer

    XMLWordPrintableJSON

Details

    Description

      When the AutoCompleteTextfield is used on a ModalWindow the suggestions are not shown. The reason is the following code in modal.css on line 171:

      div.wicket-modal div.w_content_container {
      position: relative;
      }

      This was added in revision 1071523 of modal.css. As a workaround to make the suggestions visible i use the following code in the css-sheet of my project:

      /*

      • FIXES rendering issue of autocomplete
      • suggestions on modal windows in internet explorer 7, 8, ..?
        */
        DIV.wicket-modal DIV.w_content_container {
        position : static !important;
        }

      I will attach a quickstart project, that you can use to reproduce the bug. Start it and type http://localhost:8080/ac into your browser.
      To show the bug you have to remove the workaround from style.css or disable it using the developer toolbar of internet explorer.

      Attachments

        1. WICKET-4294.patch
          0.8 kB
          Andrea Del Bene
        2. myproject1_5_3.zip
          60 kB
          Stefan Schulte

        Issue Links

          Activity

            People

              bitstorm Andrea Del Bene
              dangermouse Stefan Schulte
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: