mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 13:03:46 +08:00
UX: Trigger composer resize when dismissing keyboard in iPad
This commit is contained in:
parent
31e7a93414
commit
1051a95160
|
@ -115,6 +115,7 @@ function positioningWorkaround($fixedElement) {
|
||||||
var blurredNow = function(evt) {
|
var blurredNow = function(evt) {
|
||||||
if (
|
if (
|
||||||
!done &&
|
!done &&
|
||||||
|
evt.srcElement !== document.activeElement &&
|
||||||
$(document.activeElement)
|
$(document.activeElement)
|
||||||
.parents()
|
.parents()
|
||||||
.toArray()
|
.toArray()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user