[feedback]修正反馈弹窗展示时,弹窗外部不响应触摸事件

This commit is contained in:
renwj
2022-03-25 17:03:10 +08:00
parent 24d6bbaaf5
commit 324e1aedc2

View File

@@ -104,7 +104,11 @@ internal fun Context.pop(content: View, width: Int, height: Int, key: String, fi
}
}
}
return@setTouchInterceptor true
try {
return@setTouchInterceptor true
} finally {
activity.window.decorView.dispatchTouchEvent(event)
}
}
it.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
}