Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4148

comboitem + popupwidth: hover style too short (also chosenbox)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.1
    • 8.6.0.1
    • CSS
    • Security Level: Jimmy
    • ZK 8.6.1 S1

      Steps to Reproduce

      <combobox popupWidth="100%">
        <comboitem label="short text" />
        <comboitem label="a longer text here, at least longer than box is wide." />
      </combobox>
      

      open the popup
      (inside the popup) scroll to the right
      hover any item

      The same happens with <chosenbox>

      Current Result

      the hover style (background color/gradient, doesn't cover the whole width of the highlighted comboitem)

      Expected Result

      background style cover the whole widths

      Debug Info

      Root Cause

      Workaround

         .z-combobox-content {
           width: auto!important;
           min-width: 100%;
           display: inline-block!important;
         }
      

      for chosenbox

      .z-chosenbox-select {
          width: auto!important;
          min-width: 100%;
          display: inline-block!important;
      }
      

            Leon03 Leon03
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h