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

Textarea - prefix/suffix preserve space after hiddne with display none #1508

Open
desig9stein opened this issue Dec 5, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. text area

Comments

@desig9stein
Copy link
Contributor

desig9stein commented Dec 5, 2024

Which component(s) are affected?

Textarea

Description

When display: none is applied to a prefix or suffix slot of a textarea, the slots are visually hidden, but their occupied space is not removed, resulting in layout inconsistencies.

Screen.Recording.2024-12-05.at.17.40.41.mov
Screen.Recording.2024-12-05.at.17.49.47.mov

Reproduction

Add display none to a prefix/suffix slot

 <span slot="prefix" [hidden]="properties.hidePrefix"><igc-icon name="face"></igc-icon></span>
`````` HTML

### Workaround

NO

### Is this a regression?

No or unsure. This never worker, or I haven't tried before.

### Affected versions

all

### Browser/OS/Node environment

all
@desig9stein desig9stein added bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. text area labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. text area
Projects
None yet
Development

No branches or pull requests

2 participants