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

Dropdown panel misaligned on filtering with appendTo #2328

Closed
cagataycivici opened this issue Mar 17, 2017 · 0 comments
Closed

Dropdown panel misaligned on filtering with appendTo #2328

cagataycivici opened this issue Mar 17, 2017 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cagataycivici
Copy link
Member

In case of appendTo property is used on p-dropdown when typing into the filter the container of the options goes to the upper left corner. This is because appendTo property is not checked and position is always calculated as a relative position. In the proposed fix i check if this.appendTo property is used and if so, absolutePosition function is called instead of the relativePosition.

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Mar 17, 2017
@cagataycivici cagataycivici added this to the 2.0.4 milestone Mar 17, 2017
@cagataycivici cagataycivici self-assigned this Mar 17, 2017
cagataycivici pushed a commit that referenced this issue Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

1 participant