Skip to content

Commit

Permalink
remove stopPropagation
Browse files Browse the repository at this point in the history
  • Loading branch information
honwhy committed May 10, 2024
1 parent 35c9ed8 commit c10df6f
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 13 deletions.
2 changes: 1 addition & 1 deletion entrypoints/SelectionPopper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function handleSelection() {
}
// 监听鼠标抬起事件以检测是否进行了文本选择
function handleMouseUp(event: MouseEvent) {
event.stopPropagation()
// event.stopPropagation()
console.log('handleMouseUp', event)
if (isPopoverVisible.value) {
console.log('handleMouseUp=>still in the last on popper')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "words-100-helper",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"description": "新百词斩助手,支持取词翻译、收藏单词等操作(可同步至百词斩APP中)",
"scripts": {
Expand Down Expand Up @@ -38,6 +38,6 @@
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vue-tsc": "^2.0.6",
"wxt": "^0.17.12"
"wxt": "^0.18.2"
}
}
77 changes: 67 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c10df6f

Please sign in to comment.