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/remove overlay clearable button #20474

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

vikash8813
Copy link

fixes #20375

Description

This pull request fixes an issue where the overlay of a clearable field remains visible and takes up space even when the field is not focused . The expected behavior is for the overlay to only be visible when the text field is focused or field is hovered.

Changes Made

Add a condition to show the clearable button only when field is focused and a condition when the field is hovered

Testing:

Verified the fix locally by passing clearable prop to a field.
All relevant tests are passing.

Recording

hoverFix.mp4

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.

[Feature Request] [VTextField] Remove overlay for clearable- button, if field is not active
1 participant