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(uuid-generator): prevent textarea height increase on refresh #1064

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

praneethravuri
Copy link

@praneethravuri praneethravuri commented May 11, 2024

The height of the textarea in the UUID Generator component was increasing with each refresh. This commit fixes the issue by using the quantity of UUIDs generated as the row property of the textarea and also removes the autosize property of the textarea.

Problem:

problem.1.mp4

Solution:

  1. Removed the autosize property of the textarea
  2. Set the number of rows of the textarea to the quantity of UUIDs generated

Fix #1063

The height of the textarea in the UUID Generator component was increasing with each refresh due to the dynamic calculation of the number of rows based on the quantity. This commit fixes the issue by setting a fixed number of rows for the textarea, ensuring a consistent height regardless of the quantity of UUIDs generated.
Copy link

vercel bot commented May 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
it-tools ✅ Ready (Inspect) Visit Preview May 11, 2024 5:21am

Copy link

sonarcloud bot commented May 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@noxsii
Copy link

noxsii commented May 13, 2024

i dont get this error... which browser?

@praneethravuri
Copy link
Author

praneethravuri commented May 13, 2024

i dont get this error... which browser?

Mozilla Firefox, Google Chrome, and Edge

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.

[BUG] Textarea height increases with each click of the 'Refresh' button in the UUID Generator
2 participants