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: resize textarea component on changing initial values #374

Merged
merged 1 commit into from
Nov 30, 2022
Merged

fix: resize textarea component on changing initial values #374

merged 1 commit into from
Nov 30, 2022

Conversation

dmytrolyn
Copy link
Contributor

When using textarea in edit mode of some entity without global page loader (component is mounted instantly without initialValues), it doesn't change its height to fit content received from server afterwards. Here I subscribe to value prop to check for changes triggered not by onChange handler and resize component when there was no data from the beginning.

@dmytrolyn dmytrolyn added the bug Something isn't working label Nov 25, 2022
@dmytrolyn dmytrolyn self-assigned this Nov 25, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dmytrolyn dmytrolyn requested a review from vlacher12 November 25, 2022 15:05
@vlacher12 vlacher12 merged commit 88c3823 into Panenco:master Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants