Opened 4 years ago

Last modified 4 years ago

#15290 new bug

Position feedback - my element inside at element — at Version 2

Reported by: mburisin Owned by:
Priority: minor Milestone: none
Component: ui.position Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by mburisin)

When positioned element is inside target element, the position numbers are calculated correctly, however feedback is calculated incorrectly when my, and at parameters are set to same value.

For example:

my: "left bottom",
at: "left bottom"

and

my: "right top",
at: "right top"

are giving feedback

horizontal: "center", 
vertical: "middle"

With different values, it gives the position correctly

my: "right top",
at: "left bottom"

gives

horizontal: "right", 
vertical: "top"

CodePen here: https://codepen.io/anon/pen/ZopvXL#anon-login

Change History (2)

comment:1 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 4 years ago by mburisin

Description: modified (diff)
Note: See TracTickets for help on using tickets.