Kevin Deng
Kevin Deng
@chenxch [`pointerType`](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType) is only supported by Safari >= 13 (Our compat table is Safari >= 12)
Perhaps, we can use `mouseEnter` to judge it.
issue https://github.com/element-plus/element-plus/issues/9781 It's the reason for following the behavior of the native `` tag. See the [demo](https://element-plus.run/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuIDxmb3JtIGFjdGlvbj1cIi9hY3Rpb25fcGFnZS5waHBcIj5cbsKgIDxpbnB1dCB0eXBlPVwicmFkaW9cIiBpZD1cImh0bWxcIiBuYW1lPVwiZmF2X2xhbmd1YWdlXCIgdmFsdWU9XCJIVE1MXCI+XG7CoCA8bGFiZWwgZm9yPVwiaHRtbFwiPkhUTUw8L2xhYmVsPjxicj5cbsKgIDxpbnB1dCB0eXBlPVwicmFkaW9cIiBpZD1cImNzc1wiIG5hbWU9XCJmYXZfbGFuZ3VhZ2VcIiB2YWx1ZT1cIkNTU1wiPlxuwqAgPGxhYmVsIGZvcj1cImNzc1wiPkNTUzwvbGFiZWw+PGJyPlxuwqAgPGxhYmVsIGZvcj1cImphdmFzY3JpcHRcIj5KYXZhU2NyaXB0PC9sYWJlbD48YnI+PGJyPlxuwqAgPHNlbGVjdCB0eXBlPVwidGV4dFwiIGlkPVwiamF2YXNjcmlwdFwiIG5hbWU9XCJmYXZfbGFuZ3VhZ2VcIiBzdHlsZT1cIndpZHRoOjIwMHB4XCI+XG4gIFx0PG9wdGlvbiB2YWx1ZT1cIlwiPi0tUGxlYXNlIGNob29zZSBhbiBvcHRpb24tLTwvb3B0aW9uPlxuICAgIDxvcHRpb24gdmFsdWU9XCJkb2dcIj5Eb2c8L29wdGlvbj5cbiAgICA8b3B0aW9uIHZhbHVlPVwiY2F0XCI+Q2F0PC9vcHRpb24+XG4gICAgPG9wdGlvbiB2YWx1ZT1cImhhbXN0ZXJcIj5IYW1zdGVyPC9vcHRpb24+XG4gICAgPG9wdGlvbiB2YWx1ZT1cInBhcnJvdFwiPlBhcnJvdDwvb3B0aW9uPlxuICAgIDxvcHRpb24gdmFsdWU9XCJzcGlkZXJcIj5TcGlkZXI8L29wdGlvbj5cbiAgICA8b3B0aW9uIHZhbHVlPVwiZ29sZGZpc2hcIj5Hb2xkZmlzaDwvb3B0aW9uPlxuICA8L3NlbGVjdD5cbiAgPGlucHV0IHR5cGU9XCJzdWJtaXRcIiB2YWx1ZT1cIlN1Ym1pdFwiPlxuPC9mb3JtPlxuPC90ZW1wbGF0ZT5cblxuPHNjcmlwdCBsYW5nPVwidHNcIiBzZXR1cD5cblxuPC9zY3JpcHQ+XG4iLCJpbXBvcnRfbWFwLmpzb24iOiJ7XG4gIFwiaW1wb3J0c1wiOiB7fVxufSIsIl9vIjp7fX0=). When clicking "JavaScript" label, it will only trigger focus on select, instead of...
I don't think this feature is essential.
Reproduced in `useElementVisibility`, could you please provide more cases about the functions you mentioned.
Yeah, as I mentioned in `Additional context`
I think we can have it now, and refactor it before the next major released.
Reactivity Transform will be stable in Q3 2022. If Vue officially has a better solution, the difference shouldn't be that big. Reactivity Transform 目前大概率是会在 Q3 2022 通过的。如果 Vue 官方有更好的方案,差别应该也不会很大。
https://github.com/vueuse/vueuse/issues/2317#issuecomment-1276637755 TLDR: I will develop a version without Reactivity Transform later. Dependent on `@vueuse/core`. TLDR:我稍后会开发一个没有 Reactivity Transform 的版本,依赖于 `@vueuse/core`。
Done in #104