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

Fix calculatation of height with box sizing 'border-box' #266

Merged
merged 2 commits into from
May 24, 2020
Merged

Fix calculatation of height with box sizing 'border-box' #266

merged 2 commits into from
May 24, 2020

Conversation

vlazh
Copy link
Contributor

@vlazh vlazh commented May 24, 2020

Remove additional adding paddingSize and border because already contains in height (via getContentHeight)

Remove additional adding paddingSize and border because already contains in height (via getContentHeight)
@changeset-bot
Copy link

changeset-bot bot commented May 24, 2020

🦋 Changeset is good to go

Latest commit: b808e1b

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Andarist Andarist merged commit 2307033 into Andarist:master May 24, 2020
@github-actions github-actions bot mentioned this pull request May 24, 2020
@Andarist
Copy link
Owner

Thanks! I've screwed up this when refactoring. I've applied a slightly different fix for this based on v7 implementation because your proposed fix would calculate a too high height for border-box textareas with border or padding. Thanks a lot about raising this issue and preparing a PR with a potential fix ❤️

@vlazh vlazh deleted the patch-1 branch May 29, 2020 11:38
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

Successfully merging this pull request may close these issues.

2 participants