Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant