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

z-columns-bar's position is shifted after scrolling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.2
    • 9.6.0.1
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      <zk>
      	<zscript><![CDATA[
      	List model = new ListModelList(Locale.getAvailableLocales());
      	]]></zscript>
      	<grid model="${model}" visibleRows="5" >
      		<frozen columns="1" />
      		<columns>
      			<column label="Locale" width="50px"/>
      			<column label="Locale" width="250px"/>
      			<column label="Locale" width="300px"/>
      			<column label="Locale" width="300px"/>
      			<column label="Locale 5" width="300px"/>
      		</columns>
      		<template name="model">
      			<row>
      				<cell>${each.country}</cell>
      				<cell>${each}</cell>
      				<cell>${each}</cell>
      				<cell>${each}</cell>
      				<cell>${each}</cell>
      			</row>
      		</template>
      	</grid>
      </zk>
      

      1. shrink the browser width to produce the horizontal scrollbar
      2. scroll to the right most column with a mouse
      3. open developer tool to check .z-columns-bar

      Current Result

      Expected Result

      Debug Information

      • if you move scrollbar by right-arrow key, the bug doesn't happen

        1. expected.jpg
          expected.jpg
          19 kB
        2. shifted.jpg
          shifted.jpg
          18 kB

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

              Created:
              Updated:
              Resolved: