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

Bandpopup checking horizontal position similar to vertical position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S1

      The current Bandpopup check when assigning vertical position is:
      -If the space below the input is larger than the popup, display using after_start position. (below, toward the right, will not clip out of screen)
      -If not, and if the space above is larger than the popup, display using before_start position (above, toward the right, will not clip out of screen)
      -if not, display the popup using after_right, overflow true (below, toward the right, will clip out of screen.)

      The same calculation can be done horizontally to display the popup using the "before_end" or "after_end" position if the popup cannot be displayed fully to the right of the input.

      See fiddle for example:
      http://zkfiddle.org/sample/1h1hugj/3-bandpopup-horizontal-position

            rudyhuang rudyhuang
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h