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

Popup position not properly fixed in listbox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.6, 7.0.2
    • 6.5.5
    • None
    • Security Level: Jimmy
    • None

    Description

      Reproduce:
      Use test.zul and TestVM.java in reproduce.zip attached, there are two issues:
      1. Scroll browser window is very slow.
      2. Open a Datebox or Combobox, the position of popup is out of sync after scroll Listbox.

      Cause:
      1. Scroll browser window triggered onScroll of Datebox/Combobox, and applys the fix to "Each" Datebox/Combobox even their popup is not opened.
      2. Scroll Listbox does not trigger onScroll of Datebox/Combobox so no fix is applied.

      Workaround:
      Override onScroll of Datebox/Combobox (in this case), only apply the fix to a Datebox/Combobox which has an opened popup,
      also override _doScroll of Listbox to fire onScroll event to its children.
      Please refer to test.zul in workaround.zip attached.

      Attachments

        1. reproduce.zip
          0.9 kB
        2. workaround.zip
          0.9 kB

        Activity

          People

            jumperchen jumperchen
            benbai benbai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: