-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BILL-5689] Display reset button on root hover for Input component #4622
Conversation
🦋 Changeset detectedLatest commit: 8d9d494 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
packages/base/OutlinedInput/src/OutlinedInput/OutlinedInput.tsx
Outdated
Show resolved
Hide resolved
found temploy - https://picasso.toptal.net/BILL-5689-fix-reset-button-on-input/?path=/story/picasso-introduction--introduction 😃 strange that it does not show a link in the PR |
I'd try to keep this reset icon when the input element is focused/active too, not only when hovered Screen.Recording.2024-11-11.at.17.00.38.mov |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code looks good, tested on storybook temploy and it works correctly 👍
I'd suggest only also to show the reset icon on focused inputs
2394872
to
dbdd394
Compare
Updated to have focus/active state too Screen.Recording.2024-11-11.at.18.46.48.mov |
dbdd394
to
62b515f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, works as expected 👍
62b515f
to
e048b5d
Compare
@toptal-bot run package:alpha-release |
Your alpha package is ready 🎉 |
81bd0a8
to
8d9d494
Compare
BILL-5689
Description
User complained that the reset button was flickering. Please check
before
section in the screenshotsHow to test
Input
storyenableReset
to display theX
reset buttonScreenshots
Before
Screen.Recording.2024-11-11.at.12.50.42.mov
After
Screen.Recording.2024-11-11.at.16.20.42.mov
Development checks
picasso-tailwind-merge
requires major update (check itsREADME.md
)props
in component with documentationexamples
for componentBreaking change
PR commands
List of available commands:
@toptal-bot run package:alpha-release
- Release alpha version@toptal-anvil ping reviewers
- Ping FX team for reviewPR Review Guidelines
When to approve? ✅
You are OK with merging this PR and
nit:
to your comment. (ex.nit: I'd rename this variable from makeCircle to getCircle
)When to request changes? ❌
You are not OK with merging this PR because
When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:
How to handle the comments?