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
[joy-ui][Select] Floating label Select #42012
Comments
I just checked the code provided here https://mui.com/joy-ui/react-input/#floating-label and i suggest modifying 3 things : i'll provide a screenshot of where to modify: |
I haven't StyledInput component, because mui joy uses button instead of input or select. But I tried anyway , it didn't work. |
What if we need to adjust the styling component accordingly to a button instead of a Select or input component? |
Could you send me codesandbox link after do it? Because, it didn't work. |
Why transition in this manner in the first place? The Select doesn't have an input; it uses a button. Plus, there's no placeholder or cursor when focused, so this transition doesn't seem valid to me. |
I shared my motivation in first post : |
But what we render is a button and not a |
Summary
I want to design floating label select but i dont know what is the right solution (access to button or root slot of Select) .If you check below example , the label floats but animation effect doesn't work. Do you have any example or documentation plan?
Examples
https://codesandbox.io/p/sandbox/select-floating-label-8lqxly
Motivation
https://mui.com/joy-ui/react-input/#floating-label
Search keywords: select input slot
The text was updated successfully, but these errors were encountered: