Replies: 1 comment 2 replies
-
|
v3 版本的 target 支持 target 动态变化的,也就是会处理后创建的 dom. 不过在没有 dom 时候,是默认 window 的. 你是期望没有 target 的时候,也不要默认 window? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
调用useKeyPress时可能target的dom还没创建完毕,是否支持hooks内监听target存在时,再进行事件绑定
Beta Was this translation helpful? Give feedback.
All reactions