This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: Resizer - Recalculate height on mount (#447)
This update enhanced `Input.Resizer` to recalculate it's height on mount behind a `requestAnimationFrame` call. This is to help ensure correct height values when loaded into a heavier page/component (computation wise). `Input.Resizer` has also been converted to Typescript, with minor performance/render refactors for how it handles defining instance variables.
- Loading branch information
Jon Quach
committed
Jan 10, 2019
1 parent
34712f2
commit 7861a3f
Showing
2 changed files
with
70 additions
and
33 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
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