Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

paper-menu-button exposes the dynamicAlign property but it does not exposes a fitInto property #152

Open
8 tasks done
t-soares opened this issue Dec 13, 2018 · 0 comments

Comments

@t-soares
Copy link

Description

paper-menu-button should expose a fitInto property, since it exposes the dynamicAlign and on its documentation it refer to the fitInto property.

@aomarks Can you check this? It demands a simple solution.

dynamicAlign: boolean | null | undefined
If true, the horizontalAlign and verticalAlign properties will be considered preferences instead of strict requirements when positioning the dropdown and may be changed if doing so reduces the area of the dropdown falling outside of fitInto.

Expected outcome

The client component should be able to define the fitInto container, instead of always using the window object.

Actual outcome

It is always using the window object when computing the dynamicAlign.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant