vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

Fix/remove overlay clearable button

Open vikash8813 opened this issue 1 year ago • 1 comments

fixes https://github.com/vuetifyjs/vuetify/issues/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

https://github.com/user-attachments/assets/dc6722d0-9387-4d2e-8277-f57cf2827f21

vikash8813 avatar Sep 13 '24 15:09 vikash8813

Hi, I would suggest restoring the lock file as the lock file to changes should not belong to this pr.

Jesse205 avatar Oct 17 '24 10:10 Jesse205

This removes the fade in animation of the clearable icon. clearable-1 clearable-2

johnleider avatar Jan 24 '25 22:01 johnleider