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

Chips | Clear icon is not visible with long text content #11957

Closed
ndagovic opened this issue Sep 21, 2022 · 1 comment · Fixed by #11960
Closed

Chips | Clear icon is not visible with long text content #11957

ndagovic opened this issue Sep 21, 2022 · 1 comment · Fixed by #11960
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@ndagovic
Copy link

Describe the bug

No obvious way to remove entries that are very long or if the width of the chips component has been limited in any way (this includes monitor width)

Environment

Any

Reproducer

https://www.primefaces.org/primeng/chips

Angular version

^14

PrimeNG version

^14

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.13.1

Browser(s)

No response

Steps to reproduce the behavior

1 - go to the demoed chip component
2 - input a VERY long string (something that is beyond the width of the actual field)
3 - press ENTER to input said long string

----> There is no " X " visible to remove the entry and no way to scroll to it in order to see it.

Expected behavior

There is an obvious way/button to remove the entry from the chips component.

Current workaround -> use backspace to remove the entry since the "X" button is not reachable

@ndagovic ndagovic added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 21, 2022
@cetincakiroglu cetincakiroglu added this to the 14.1.2 milestone Sep 21, 2022
@cetincakiroglu cetincakiroglu changed the title Component: Chips Chips | Clear icon is not visible with long text content Sep 21, 2022
cetincakiroglu added a commit that referenced this issue Sep 21, 2022
Fixed #11957 - Chips | Clear icon is not visible with long text content
@cetincakiroglu
Copy link
Contributor

Hi,

Good catch, issue is fixed in #11960 now you'll be able to scroll (shift+scroll) with large text. Thanks for reporting!

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

Successfully merging a pull request may close this issue.

2 participants