angular / angular/components

Input chips overflow input container with long unwrappable text (no longer removeable by click)

Open
#14,934 7 comments 7 reactions 0 assignees View on GitHub
area: material/chips P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### What is the current behavior?

In the current version of material (7.2.2), if a chip contains a long string that cannot be wrapped which ends up overflowing the container of the chip, the removeable button is no longer viewable. (The chip is still removeable if selected and removed using the backspace keyboard input though). See screenshot below for example from the material.angular.io site (last input item).

![image](https://user-images.githubusercontent.com/6168747/51638838-79dc9780-1f2d-11e9-8238-0697ad85e3fe.png)

Proposing that either the text be force wrapped or truncated, or an option to choose between the two.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Angular Material chips input shown on material.angular.io with a long, unwrappable chip value. Done means the chip's remove button remains visible and clickable, either by forcing the text to wrap or by truncating it as proposed.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.