阿菜 Cai

Results 211 comments of 阿菜 Cai

看起来当使用键盘 `↓` 选择 item 的时候,当选择最后一项的时,继续往下选择并不会跳转到第一项,而是要经过 `分组 item` 长度的选择之后才会跳转到第一项。 https://github.com/user-attachments/assets/c3150e1b-533e-4029-a836-55258fb650b5

在 `windows` 上使用 `yarn lint:fix:all` 没有产生差异,暂未复现。

🤔 这个不应该是在输入框的时候进行限制嘛? 而不是在渲染的时候,如果是聊天内容,后端也要做xss防范过滤吧?

It looks like you haven't enabled `copy` ![image](https://github.com/user-attachments/assets/442ff5f2-f215-49c6-930c-dc570b2b3455)

- jest migrate to vitest https://github.com/Tencent/cherry-markdown/pull/1189

没有复现当前提到的错误,能否提供复现视频,或者最小复现代码仓库。 当前`passive`默认是`false`,是不会出现`unable to preventDefault inside passive event listener invocation`错误的。 在`passive:false`的情况下,使用`preventDefault()`阻止了滚轮事件向父页面传播,父页面不会出现滚动。 相关知识: [使用 passive 改善滚屏性能](https://developer.mozilla.org/zh-CN/docs/Web/API/EventTarget/addEventListener#%E4%BD%BF%E7%94%A8_passive_%E6%94%B9%E5%96%84%E6%BB%9A%E5%B1%8F%E6%80%A7%E8%83%BD)。

The solution mentioned here seems to only work with GitHub actions triggered by `on: push`? https://github.com/npm/cli/issues/8730

This solves the above problem, but it doesn't work when I want to generate a `alpha` version for merging code from external contributors. 😢😢 ```diff - pull_request_target: + pull_request: ```