Skip to content

Conversation

@MatthewKennedy
Copy link

@MatthewKennedy MatthewKennedy commented Mar 11, 2019

Add this.blur() to stop flash of keyboard on iOS

Fixes #1133

Add this.blur() to stop flash of keyboard on iOS
@amsul
Copy link
Owner

amsul commented Mar 11, 2019

@MatthewKennedy the readOnly attribute should already be preventing this as mentioned here: https://amsul.ca/pickadate.js/date/#editable

@MatthewKennedy
Copy link
Author

Hi @amsul

I had to make a video showing the issue, let me know what you think?
https://www.youtube.com/watch?v=HHXp3-cigho&feature=youtu.be

@amsul
Copy link
Owner

amsul commented Mar 12, 2019

@MatthewKennedy video not available anymore?

@MatthewKennedy
Copy link
Author

@amsul try now

@amsul
Copy link
Owner

amsul commented Mar 13, 2019

Ah yknow what..I just checked to confirm and it seems like this is a regression in one of the newer versions of iOS. It was specifically solved in the past by adding the readonly attribute.

But, the problem with this solution is that it breaks the tabindex flow when using the picker on a laptop/desktop. We'll need to find a way to do this without affecting the other use cases 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS Keyboard

2 participants