Ember-power-select: Input doesn't focus when component is clicked on iOS Safari

Created on 26 Jul 2016  路  7Comments  路  Source: cibernox/ember-power-select

Using Safari on an iOS device, when you click the component and it opens, the search input isn't focused as part of the click event's thread.

This presents a problem because trying to focus the input in callbacks doesn't accomplish anything because Safari on iOS doesn't allow the keyboard to be opened except by actual user interaction.

Is there any way around this? Is this a bug?

bug

Most helpful comment

@cibernox I can confirm that this is happening in iOS. The search box is not focused on clicking the dropdown.

All 7 comments

I wasn't aware of that limitation of iOS. I guess that it should be considered a bug.

Funny enough, I just merged a PR a couple days ago to allow users to achieve the behaviour you consider a bug 馃榿 https://github.com/cibernox/ember-power-select/issues/593#issuecomment-234481628

I think that this might have been fixed already.

@cibernox I can confirm that this is happening in iOS. The search box is not focused on clicking the dropdown.

@cibernox I went to open a ticket for this very issue, but found that there was already a closed ticket for this. This was closed with "I think that this might have been fixed already" but it seems it never was fixed. We are still seeing this issue. I am using what I understand to be the latest stable version ("ember-power-select": "^1.10.4") as the README says 2.x is still in beta. Would you have reason to believe this would be resolved by upgrading to the latest 2.X? Thanks.

@bmfay Sorry, that comment was outdated. 2.0 came out of beta a long time ago. Can you confirm if updating it fixes the problem?

That did it, thanks!

@cibernox that was a false positive actually, updating did not fix the problem. The issue remains...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kybishop picture kybishop  路  4Comments

angelosarto picture angelosarto  路  8Comments

knownasilya picture knownasilya  路  10Comments

jorkas picture jorkas  路  8Comments

orf picture orf  路  10Comments