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

[BUG] Initial input focus and keyboard triggering on ios #401

Open
radanax opened this issue Nov 2, 2022 · 3 comments
Open

[BUG] Initial input focus and keyboard triggering on ios #401

radanax opened this issue Nov 2, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@radanax
Copy link

radanax commented Nov 2, 2022

We are facing the following bug in a webapp we are using on iOS. When the user clicks on the mat-select to open the ngx-mat-search-select, it is displayed, but the keyboard does not appear. To open the keyboard a second click on the search field is needed.

The parameter "disableInitialFocus" is in default state. The mentioned behaviour currently occurs only on IOS devices.

Tested on our app as well as with the latest version of ngx-mat-search-select in the stackbliz preview: https://stackblitz.com/github/bithost-gmbh/ngx-mat-select-search-example

  • ngx-mat-select-search Version: 4.2.1
  • Material Version: 14.2.6

To Reproduce:

  1. Open the stackblitz on an iOS device
  2. Go to the first mat-select
  3. Click on it

You can use https://stackblitz.com/github/bithost-gmbh/ngx-mat-select-search-example as a starting point

Expected behavior:
The keyboard should open automatically after one click on the mat-select.

Smartphone / iPad:

  • OS: IOS 16.0.2
  • Browser: Safari 16.0.2
  • Version 16.0.2
@radanax radanax added the bug Something isn't working label Nov 2, 2022
@radanax radanax changed the title [BUG] Intial input focus and keyboard triggering on ios [BUG] Initial input focus and keyboard triggering on ios Nov 2, 2022
@macjohnny
Copy link
Member

@radanax thanks for reporting this. Can you investigate and provide a fix?

@macjohnny
Copy link
Member

@radanax would you want to test version 7.0.0 using the new MatSelectModule and check whether this is still an issue?

@macjohnny
Copy link
Member

still happens with v7.0.7

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

2 participants