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

Horizontal scroll bar not showing when listbox has one or more frozen columns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.6.3
    • Fix Version/s: None
    • Component/s: Components
    • Labels:
    • Environment:

      ZK 8.6.3 EE with spring boot

      Description

      Steps to Reproduce

      <listbox height="400px" width="600px" rows="5" emptyMessage="no sponsors were found.">
          <custom-attributes org.zkoss.zul.frozen.smooth="false"/>
          <custom-attributes org.zkoss.zul.nativebar="false"/>
          <auxhead>
              <auxheader/>
              <auxheader label="biometric configurations" colspan="6"/>
          </auxhead>
          <frozen columns="1"/>
          <listhead>
              <listheader label="sponsor" width="160px"/>
              <listheader label="ver. required" width="160px"/>
              <listheader label="threshold" width="160px"/>
              <listheader label="provider" width="160px"/>
              <listheader label="max attempts" width="160px"/>
              <listheader label="exceed action" width="160px"/>
              <listheader label="block duration" width="160px"/>
          </listhead>
          <listitem>
              <listcell label="1"/>
              <listcell label="2"/>
              <listcell label="3"/>
              <listcell label="4"/>
              <listcell label="5"/>
              <listcell label="6"/>
              <listcell label="7"/>
          </listitem>
          <listitem>
              <listcell label="1"/>
              <listcell label="2"/>
              <listcell label="3"/>
              <listcell label="4"/>
              <listcell label="5"/>
              <listcell label="6"/>
              <listcell label="7"/>
          </listitem>
          <listitem>
              <listcell label="1"/>
              <listcell label="2"/>
              <listcell label="3"/>
              <listcell label="4"/>
              <listcell label="5"/>
              <listcell label="6"/>
              <listcell label="7"/>
          </listitem>
          <listitem>
              <listcell label="1"/>
              <listcell label="2"/>
              <listcell label="3"/>
              <listcell label="4"/>
              <listcell label="5"/>
              <listcell label="6"/>
              <listcell label="7"/>
          </listitem>
          <listitem>
              <listcell label="1"/>
              <listcell label="2"/>
              <listcell label="3"/>
              <listcell label="4"/>
              <listcell label="5"/>
              <listcell label="6"/>
              <listcell label="7"/>
          </listitem>
      </listbox>
      

       

      Current Result

      When a Listbox has one or more frozen columns the horizontal scroll bar does not show unless the following attributes are added to the Listbox:

      <custom-attributes org.zkoss.zul.frozen.smooth="false"/>
      <custom-attributes org.zkoss.zul.nativebar="false"/>
      

      With those attributes, the horizontal scrollbar starts to show up, but there is another issue when a vertical scrollbar appears when the Listbox has more items than can be shown according to the height of the component. In this case, if you are in a laptop and scroll down using a trackpad the Listbox starts moving horizontally not vertically, and the horizontal scrollbar doesn´t move either, the gesture of scrolling vertically it should not act over the horizontal scroll.

      I was using ZK 8.6.3 EE with spring boot.
       

      Expected Result

      Horizontal scroll bar should be shown when listbox has one or more frozen columns
       

      Debug Information

       

      Workaround

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            estuardogarcia estuardogarcia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: