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

A popup can move upon scrolling inside any element

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 9.6.0
    • 9.5.1.3
    • Components
    • Security Level: Jimmy

      User Story

      • As a user, I want to see a popup moving upon scrolling, so that I don't see a popup of the original element when I scroll the element out of visible area.
      • As a user, I want to see an error message attaching to its source input component, so that when I scroll in a scrollable area (or in a page), the error message will move alone with the source input component and doesn't keep at the fixed position.

      Acceptance Criteria

      First priority

      Make this behavior as default because most users expect this behavior.
      If we can minimize the cost of listening to onScroll event. For example, only listen to onScroll when a popup is open and remove the onScroll listener when closing a popup.

      Second priority

      If we can't achieve the first priority, then we can implement this one.
      Application developer can specify data-scrollable on a div or any scrollable element. So the popup inside will move upon scrolling including <popup>, combobox popup, datebox popup, chosenbox popup, searchbox popup...etc.

      Details

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h