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

Use min-height of textarea when computing auto-resize after deleting a char #504

Merged
merged 1 commit into from
Jul 17, 2016

Conversation

astorije
Copy link
Member

@astorije astorije commented Jul 15, 2016

Fixes #482.

This fixes a bug that was breaking the textarea on Android.
@williamboman, can you give it a try?

@astorije astorije added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. priority labels Jul 15, 2016
@astorije astorije added this to the 2.0.0 milestone Jul 15, 2016
@@ -1260,6 +1260,7 @@ button {
}

#form #input {
overflow-y: hidden;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break scrolling when it hits 6-7 lines, as we stop growing at this point.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, good point, I'll remove this.

@williamboman
Copy link
Member

williamboman commented Jul 15, 2016

Functionality-wise works fine, 👍 (except the overflow issue)

@astorije astorije force-pushed the astorije/fix-reset-textarea-height branch 2 times, most recently from 332ee84 to 6abb9f1 Compare July 16, 2016 06:50
@astorije astorije changed the title Store initial textarea height to reapply on char deletion Use min-height of textarea when computing auto-resize after deleting a char Jul 16, 2016
@astorije astorije force-pushed the astorije/fix-reset-textarea-height branch from 6abb9f1 to cc06081 Compare July 17, 2016 03:21
@astorije
Copy link
Member Author

@maxpoulin64 is 👍 (but didn't comment with 👍 itself, just the second-review label). All other maintainers are away at the moment, but @williamboman did test this successfully, so merging.

@astorije astorije merged commit b5e8ee6 into master Jul 17, 2016
@astorije astorije deleted the astorije/fix-reset-textarea-height branch July 17, 2016 22:20
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…xtarea-height

Use min-height of textarea when computing auto-resize after deleting a char
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text in chat input invisible in landscape mode (mobile)
3 participants