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

combobx with hflex="min" has a wrong button position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 9.6.1
    • 9.0.1.2, 9.6.0.1
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

          <zscript><![CDATA[
      ListModelList model = new ListModelList(Locale.getAvailableLocales());
          ]]></zscript>
              <combobox hflex="min"
                        model="${model}">
              </combobox>
      

      1. run the code with iPad or chrome device simulation - iPad
      under breeze or iceblue

      Current Result

      the button is not at right-most position

      Expected Result


      Debug Information

      1. 9.0.0.1 doesn't have this bug

      Workaround

      • use width="min-content"
      • .z-combobox { min-width: 60px; }

        1. combobox-mobile.jpg
          2 kB
          hawk
        2. combobox-mobile-expected.jpg
          2 kB
          hawk
        3. overWide.jpg
          31 kB
          hawk

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: