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

ebay-select onMount placeholder glitch #268

Open
montoya332 opened this issue Oct 31, 2023 · 0 comments
Open

ebay-select onMount placeholder glitch #268

montoya332 opened this issue Oct 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@montoya332
Copy link
Collaborator

montoya332 commented Oct 31, 2023

There is a small delay when rendering ebay-select when placeholder and label inline are present
https://github.com/eBay/ebayui-core-react/assets/8145951/0dcf9b75-90a9-4303-8c9a-bfbc53ce0eb8
I believe it is due to this side effect (dom change).

setPlaceholder(inputRef()?.current, ``)

maybe we can find a way to use a callback or common prop

Screen.Recording.2023-10-31.at.1.18.24.PM.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant