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

Text area bug #775

Closed
tay-aitken opened this issue May 16, 2018 · 2 comments
Closed

Text area bug #775

tay-aitken opened this issue May 16, 2018 · 2 comments

Comments

@tay-aitken
Copy link
Contributor

Detailed description

When changing the height of the text area I realized you can actually shrink it past the initial height of the original area. You can shrink it even smaller than the height of a traditional text input.

Is this issue related to a specific component?

Text Area.

What did you expect to happen? What happened instead? What would you like to see changed?

When shrinking the text area after expanding it, I expected it to only shrink back to the original size of the text area. The size it was when I first encountered it.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

Seen on the carbon website > which I believe is on 8.18.16

Steps to reproduce the issue

  1. Resize text area so its taller
  2. Resize text area so its shrinks, smaller than initial height

Additional information

screen shot 2018-05-14 at 4 29 41 pm

@tay-aitken tay-aitken added the bug label May 16, 2018
@alisonjoseph
Copy link
Member

I don't believe we have any control over this with the default browser resize property. Our only other option would be to set it to none by default or implement a javascript fix, which I believe would be overkill for this.

resize: none|both|horizontal|vertical|initial|inherit;

@tw15egan
Copy link
Member

Agree with @alisonjoseph, this is the default HTML behavior for textarea and adding any other features would require javascript

joshblack pushed a commit to joshblack/carbon that referenced this issue May 2, 2019
…esign-system#791)

* fix(Slider): Provide sane defaults for onChange, step props; resolves carbon-design-system#775

* fix(Slider): Remove default prop now that type checking exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants