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

Add filterInputAutoFocus property to Dropdown #1036

Closed
giovannispd opened this issue Oct 9, 2019 · 1 comment
Closed

Add filterInputAutoFocus property to Dropdown #1036

giovannispd opened this issue Oct 9, 2019 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@giovannispd
Copy link

giovannispd commented Oct 9, 2019

[ ] bug report
[X ] feature request
[ ] support request

**Current behavior**
when dropdown (with filter) panel is opened, filter inputtext get focus

**Expected behavior**
the default behavior is ok on desktop, but in mobile the inputtext autofocus trigger the opening of
 the virtual keyboard that covers 50% of the view and components... is fine to have a prop to disable this autofocus.

* **React version:**
16.8.6

* **PrimeReact version:**
3.2.0

* **Browser:** 
All browsers
 
* **Language:** 
ES6/7
@mertsincan mertsincan changed the title Dropdown with filter, prop for disable inputtext autofocus Add filterInputAutoFocus property to Dropdown Oct 15, 2019
@mertsincan mertsincan self-assigned this Oct 15, 2019
@mertsincan mertsincan added the Type: New Feature Issue contains a new feature or new component request label Oct 15, 2019
@mertsincan mertsincan added this to the 3.3.0 milestone Oct 15, 2019
@mertsincan
Copy link
Member

Name Type Default Description
autoFocusFilterInput boolean true When the panel is opened, it specifies that the filter input should focus automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants