我们直接使用document一堆,如果事件发生在iframe ,那可能不是正确的选择。 我们应该做对。 (从#373拆分)
document
iframe
!! 欢呼结束5年的历史!!! 🎉🎉🎉🎉
@acusti是否有可能通过合并https://github.com/facebook/react/pull/12037来解决
确实是的! 此问题是指以前在ReactDOMSelection和SelectEventPlugin使用全局document和window对象。
ReactDOMSelection
SelectEventPlugin
window
最有用的评论
!! 欢呼结束5年的历史!!! 🎉🎉🎉🎉