PolymerElements / iron-fit-behavior

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

postionTarget + center + middle centers on body #89

Closed moodyjmz closed 6 years ago

moodyjmz commented 6 years ago

Description

Target + center + middle does not work as expected

Expected outcome

I expected it to center vertically and horizontally onto the target

Actual outcome

It centers onto the body

Live Demo

https://www.webcomponents.org/element/PolymerElements/iron-fit-behavior/demo/demo/index.html

Steps to reproduce

Browsers Affected

Not tested other browsers, but expect same outcome

gregorymachon commented 6 years ago

+1

pramoch commented 6 years ago

+1