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

feat(TextArea): add autoHeight prop #1083

Merged
merged 8 commits into from
Dec 27, 2016

Conversation

luski
Copy link
Contributor

@luski luski commented Dec 22, 2016

Fixes #982

Tested on Chrome and Firefox. I'll provide test cases in further commit in the nearest future

@codecov-io
Copy link

codecov-io commented Dec 22, 2016

Current coverage is 95.84% (diff: 100%)

Merging #1083 into master will increase coverage by <.01%

@@             master      #1083   diff @@
==========================================
  Files           873        874     +1   
  Lines          4827       4835     +8   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           4626       4634     +8   
  Misses          201        201          
  Partials          0          0          

Powered by Codecov. Last update b82ddaa...ef9bdf0

@luski luski changed the title feat(982): add autoHeight proporty for TextArea feat(TextArea): add autoHeight proporty for TextArea Dec 23, 2016
@luski
Copy link
Contributor Author

luski commented Dec 27, 2016

I have no idea how to write tests checking if height of the textarea element changed. Any clues?

@levithomason
Copy link
Member

Thanks for getting this going. I've refactored it a bit, adding docs and tests. LMK if anything looks out of place. I'll get a final review on this and merge once tests pass and you sign off on my updates.

@levithomason
Copy link
Member

Also, can you please update the PR description so it closes the issue when merged? Docs here.

@luski
Copy link
Contributor Author

luski commented Dec 27, 2016

Looks great, thanks.
resolves #982 - is it enough to close the issue when merged?

@levithomason
Copy link
Member

Cool, thanks. There seems to be a 1px rendering difference on CI than locally. I'll try to fix this.

The comment will need to be in the main description of the PR to close the issue 👍

@luski luski changed the title feat(TextArea): add autoHeight proporty for TextArea feat(TextArea): add autoHeight proporty for TextArea resolves #982 Dec 27, 2016
@levithomason levithomason changed the title feat(TextArea): add autoHeight proporty for TextArea resolves #982 feat(TextArea): add autoHeight prop Dec 27, 2016
@levithomason levithomason merged commit 3b59d6c into Semantic-Org:master Dec 27, 2016
@levithomason
Copy link
Member

Released in semantic-ui-react@0.63.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants