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

Improve autocomplete css by using flex #249

Closed
mrichar1 opened this issue Mar 23, 2020 · 1 comment
Closed

Improve autocomplete css by using flex #249

mrichar1 opened this issue Mar 23, 2020 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@mrichar1
Copy link
Contributor

mrichar1 commented Mar 23, 2020

When using autocompete with dropdown enabled in a dialog, the dropdown button is being wrapped onto the next line:

2020-03-23-151731_621x579_scrot

I can force it to stay on one line by setting css for the span to include:

white-space: nowrap;

2020-03-23-151743_624x446_scrot

But this (slightly) breaks the alignment if there are other non-autocomplete fields.

This seems to happen regardless of whether or not there are other fields present.

These fields are all in their own primeflex <div class="p-col"> parent elements.

@cagataycivici cagataycivici self-assigned this Apr 3, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Apr 3, 2020
@cagataycivici cagataycivici added this to the 1.2.0 milestone Apr 3, 2020
@cagataycivici
Copy link
Member

I guess it is time to modernize the autocomplete using flex.

@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Apr 3, 2020
@cagataycivici cagataycivici changed the title Autocomplete dropdown button wrapping Improve autocomplete css by using flex Apr 3, 2020
@cagataycivici cagataycivici removed the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants