Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-338

Overflow problem with InputSuggestAjax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.2
    • None
    • None

    Description

      During working on adding inputSuggestAjax functionality to tobagos in component i found this problem:

      1. maybe not realy a bug, but i dont like it: If the suggested item doesn't fit into the popup div the content is wrapped (only if there are spaces).
      see attached image suggestAjax-wrap.png.

      2. and this is a bug: If the suggested item contains no Spaces and doesn't fit into the popup div the items continue rendering out of the popupDiv.
      see attached image suggestAjax-long.png.

      problem 1 is easy to fix: just add "whitespace: nowrap;" to the LI style, but this moves problem 1 to problem 2.

      I'll try to fix this for tobago and provide a backport patch then.

      Attachments

        1. patches.diff
          2 kB
          Volker Weber
        2. suggestAjax-length.png
          12 kB
          Volker Weber
        3. suggestAjax-wrap.png
          16 kB
          Volker Weber

        Activity

          People

            mmarinschek Martin Marinschek
            weber Volker Weber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: