-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Allow focus on contentEditable fields #5939
Conversation
Any updates on this? |
@barryvdh is this still happening on head? |
Yes, see http://codepen.io/barryvdh/full/VaXyVW/ |
So this is not a good way to fix it or ..? |
This issue is closed as part of our ‘Surge Focus on Material 2' efforts. |
Yes but you did reopen the issue: #5937 |
Sorry, I looked but I have no idea how to write a test for this. I was looking in https://github.com/angular/material/blob/master/src/core/services/gesture/gesture.spec.js to see what to add/modify, but can't really find a test for the current behavior. |
@barryvdh I'm sorry, I led you into the wrong direction. I just realized that this is test will require an iOS or Android environment, so tests will always pass. |
@ThomasBurleson This is a reasonable PR and looks good to me. |
@devversion Ok thanks! I changed the check outside those parentheses, should be a bit more readable. now. |
What is happening about this? It seems to be a simple fix but the problem still exists in 1.1.0 and it is causing major issues for production users of my shiny new, just launched application. Is there some way to patch the 1.1.0 code or is there a branch I can use in which this problem is fixed. |
@kpgarrod This PR has been merged into If you still experience issues it would be good to create a new issue for it. |
Fixes #5937
Not sure if this is cross-browser, tested etc, but does seem to fix the issue for Android/iOS