-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calculatation of height with box sizing 'border-box' (#266)
* Fix calculatation of height with box sizing 'border-box' Remove additional adding paddingSize and border because already contains in height (via getContentHeight) * Tweak fix for too high height for textareas with `box-sizing: border-box;` Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'react-textarea-autosize': patch | ||
--- | ||
|
||
Fixed a regression with calculating too high height for textareas with `box-sizing: border-box;`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters