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

combobox dropdown changes document scroll height on iPad

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2, 6.5.0
    • Fix Version/s: 6.5.0, 6.0.3
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
    • Environment:

      iPad 3 ZK 6.5FL

      Description

      simple.zul

      <zk>
      	<div height="1000px">
      		<div vflex="1"></div>
      		<div>
      			<combobox>
      				<comboitem label="United Nations (UN)" />
      				<comboitem label="North America (NA)" />
      			</combobox>
      		</div>
      	</div>
      </zk>
      

      Steps to reproduce
      1. Scroll down to the bottom of the page
      2. Open combobox dropdown
      3. Select any value (this works as expected)
      4. Open dropdown again
      Expected:
      Document should not scrollback to the top
      Actual:
      Document scrolls back to the top and user need to scroll back down to the botton to access the combobox component.

      Note: In modal window the document scrolls back to the top in step 2 itself i.e. when first time dropdown is opened.
      modal.zul

      <window mode="modal" width="500px" height="1000px" title="Main"
      	border="normal">
      	<div vflex="1"></div>
      	<div>
      		<combobox>
      			<comboitem label="United Nations (UN)" />
      			<comboitem label="North America (NA)" />
      		</combobox>
      	</div>
      </window>
      

        Attachments

          Activity

            People

            Assignee:
            vincentjian vincentjian
            Reporter:
            ashishd ashishd
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: