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 #140

Open
wants to merge 2 commits into
base: developing/2.0.0
Choose a base branch
from

Conversation

sunnydanu
Copy link
Owner

@sunnydanu sunnydanu commented Oct 26, 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



Note: This PR incorporates contributions from upstream PR-#1064 of CorentinTh/it-tools. All original commits and authorship are retained. Some adjustments may have been made for compatibility or bug fixes.

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.
@sunnydanu sunnydanu added the P2 Priority 2 : tech debt label Nov 2, 2024
@sunnydanu sunnydanu enabled auto-merge November 2, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority 2 : tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants