PolymerElements / iron-fit-behavior

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

Iron dropdown positioning issues on mobile zoom #61

Closed valdrinkoshi closed 8 years ago

valdrinkoshi commented 8 years ago

From @e111077 on July 13, 2016 0:46

Description

When zoomed in on mobile, the position and size of a paper-dropdown is very wrong.

Expected outcome

when zooming in on mobile, the dropdown should be in the position that is expected.

Actual outcome

the position is really wonky. See gif: android dropdown positioning

Live Demo

Demo page for iron-dropdown shows this issue.

Steps to reproduce

  1. Serve the demo locally
  2. chrome://inspect
  3. plug in phone
  4. open page on phone
  5. inspect
  6. zoom in on mobile
  7. tap on dropdown buttons

    Browsers Affected

Copied from original issue: PolymerElements/iron-dropdown#90

valdrinkoshi commented 8 years ago

This is an issue of iron-fit-behavior's way to position the element (it doesn't consider the zoom level). Will move it there.

valdrinkoshi commented 8 years ago

Seems like a bug of Chrome, filed an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=641625 Closing this