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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Collapsible Search Input #1464
Conversation
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.
Excellent work. I like the polish on the animation.
const CollapsibleInput = styled(Input)` | ||
max-width: 0px; | ||
overflow: hidden; | ||
transition: max-width 0.5s ease; |
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.
馃槏
ui/components/SearchInput.tsx
Outdated
onChange={(e: React.ChangeEvent<HTMLInputElement>) => | ||
setSearch(e.target.value) | ||
} | ||
placeholder="NAME" |
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.
Probably don't want this to be the default.
* created collapsed input * resolve icon conflict
* created collapsed input * resolve icon conflict
Screen.Recording.2022-02-17.at.10.29.21.AM.mov
Hey team - is this how we're envisioning the search input?
Jordan - is it worth abstracting out the icon and expand-direction portions of this component to make it more reusable?
Ignore the story description I fixed it already 馃尀