Skip to content

[bug] Min and max width are reset to 0 after being set and clicking outside #2054

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

Closed
spartan-uyen opened this issue Jun 5, 2025 · 0 comments · Fixed by #2081
Closed

[bug] Min and max width are reset to 0 after being set and clicking outside #2054

spartan-uyen opened this issue Jun 5, 2025 · 0 comments · Fixed by #2081
Assignees
Labels
bug Something isn't working

Comments

@spartan-uyen
Copy link

Summary:
When setting min-width and max-width values for an element, the values are not retained. Clicking outside the input causes both values to reset to 0, leading to unexpected layout issues.

Steps to reproduce:

  1. Set a custom value for min-width and max-width on an element.
  2. Click outside the input field to apply the values.

Actual result:
Both min-width and max-width are automatically reset to 0.
https://github.com/user-attachments/assets/38cc47aa-82ef-4e52-9f80-988976143fe5

Expected result:
The values entered for min-width and max-width should be preserved after clicking outside, without being reset.

@spartan-uyen spartan-uyen added the bug Something isn't working label Jun 5, 2025
@spartan-vutrannguyen spartan-vutrannguyen self-assigned this Jun 6, 2025
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 a pull request may close this issue.

2 participants