CJY
CJY
对 iframe 标签进行的 dom 移位操作一律会引起刷新,但 keep-alive 功能必须进行 dom 移位 此问题暂未寻到修正方式,暂不修复,请使用者注意
和 @CHEN-J-H 在微信的问题反馈中得知存在此问题,当代码中存在类似如下操作时,造成组件不渲染 猜测原因为,drop 动作是异步的,但目前和 push 同步调用了,造成了,push 先执行后,drop 生效,KeepAlive 内部的 dom 操作(inject/eject)出现了问题 此处做记录,后续修复
目前使用 clientWidth、clientHeight 取值,结果为整数,但实际元素尺寸可能为小数,可能会导致高精度需求场景下的数值误差 https://github.com/alibaba/hooks/blob/2d82a3fbde5cc08963e988a78bdbe8395e831382/packages/hooks/src/useSize/index.ts#L20-L28 是否可以考虑调整为 `getBoundingClientRect().height` 获取高精度数值?或者增加参数开启高精度模式,不影响此前行为  参考:[HTMLElement.offsetHeight](https://developer.mozilla.org/zh-CN/docs/Web/API/HTMLElement/offsetHeight)
### 🤔 这个变动的性质是?/ What is the nature of this change? - [x] 新特性提交 / New feature ### 🔗 相关 Issue / Related Issue ### 💡 需求背景和解决方案 / Background or solution...
### Description 部分场景下,期望同一页面中,不同 demo 代码块区分启用 dumi-theme-mobile 以实现更好的 demo 排布和呈现、或者 demo 之间的互动等 ### Related #531 ### Solution 通过在 `demo.FrontMatter` 中增加 `mobile` 属性来控制不同 previewer block 对 theme-mobile 的启用情况,如下 # 某文档页 A ###...
是否是必要的依赖呢?代价似乎太大了 https://bundlephobia.com/[email protected] 
Hi! Is there any things to prove that `react-freeze` only support `react 17+`? I made a [demo with react 16.6.3](https://codesandbox.io/s/serene-stitch-b3iei) and it also works well I am trying to improve...
related issue: #14 ### Check List - [x] document - [x] test case
**Describe the bug** `version-check` doesn't seem to work properly. I'm using the remote check method to compare with the local check method. It has been working normally before. But today,...
dumi 2.x hash history 模式下,标题锚点与 TOC 无法跳转至正确位置, ### Versions - dumi: 2.1.5 - node: 14.18.3 - npm: 6.14.15 - OS: Win10 - Browser: Chrome 107.0.5304.63 ### Steps to reproduce 例如...