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

Overflow problem with InputSuggestAjax

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      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. suggestAjax-wrap.png
          16 kB
          Volker Weber
        2. suggestAjax-length.png
          12 kB
          Volker Weber
        3. patches.diff
          2 kB
          Volker Weber

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: