it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

fix(uuid-generator): prevent textarea height increase on refresh

Open praneethravuri opened this issue 9 months ago • 4 comments

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:

https://github.com/CorentinTh/it-tools/assets/67636853/192e67f3-36d0-447b-9182-a7739d6d0086

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

praneethravuri avatar May 11 '24 05:05 praneethravuri

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

vercel[bot] avatar May 11 '24 05:05 vercel[bot]

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

sonarqubecloud[bot] avatar May 11 '24 05:05 sonarqubecloud[bot]

i dont get this error... which browser?

noxsii avatar May 13 '24 05:05 noxsii

i dont get this error... which browser?

Mozilla Firefox, Google Chrome, and Edge

praneethravuri avatar May 13 '24 19:05 praneethravuri