PolymerElements / iron-fit-behavior

Fits an element into another element
17 stars 34 forks source link

Overlays use another position even with dynamicAlign is false #98

Open helenxywu opened 5 years ago

helenxywu commented 5 years ago

Description

The position should always be specified by horizontal and vertical align properties when dynamicAlign is false.

Expected outcome

If the aligns are set to bottom, left then the overlay should always be at the bottom left position. If there is not enough room it should disappear.

Actual outcome

If noOverlap = true, dynamicAlign=false and the aligns are set to bottom left, and there is not enough room, it tries to put it at the left side on the bottom.