-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Not able to set focus on Dropdown component #903
Comments
GO-gyan
changed the title
Not able to set focus on Dropdown component. Neither autoFocus attribute working nor by using ref.
Not able to set focus on Dropdown component. Neither autoFocus attribute is working nor by using ref.
May 30, 2019
cagataycivici
added
the
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
label
May 30, 2019
cagataycivici
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
labels
May 30, 2019
cagataycivici
changed the title
Not able to set focus on Dropdown component. Neither autoFocus attribute is working nor by using ref.
Not able to set focus on Dropdown component
May 30, 2019
Hi @cagataycivici, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/dropdownautofocus-jko5d
Current behavior
In dropdown component autoFocus attribute is not working.
Expected behavior
In onload event focus should be on dropdown if we have passed autoFocus={true}.
In this codesandbox example I have taken help of onClick event.
Minimal reproduction of the problem with instructions
Please tell us about your environment:
Windows 10, Visual Studio Code, npm, webpack dev server
React version:
16.7.0
PrimeReact version:
3.1.3
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
ES6
The text was updated successfully, but these errors were encountered: