Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1122

Drag and drop nodes sometimes calculates wrong its final position

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.x
    • Fix Version/s: 1.5.x, 1.5.2.6
    • Labels:
      None
    • Environment:
      Alloy 1.5.x
      Liferay portal 6.1.x

      Description

      This problem doesn't occur in master because the styles have changed to bootstrap.

      Steps to reproduce (with liferay portal 6.1.x):
      ===================
      select 2 columns layout
      set column-2 with login portlet
      set column-2 with bookmarks portlet
      drag & drop bookmarks portlet below login portlet. Drop it 30 px below the end of login portlet
      when the mouse button is released, bookmarks portlet is shown on top of column-1
      This happens because the calculation of the position is made in relation of the column-1 container.
      Due the display css property of the column, column-1 has exactly the same height of column-2. This is the main cause of the behaviour, because the position is processed using the column height.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 35 weeks, 5 days ago

                  Packages

                  Version Package
                  1.5.x
                  1.5.2.6