Suiji

Results 6 issues of Suiji

在滚动溶解性表时会出现卡顿,这似乎是因为dom过多导致的性能问题,虽然问题不大,但还是会影响一些正常使用。 可考虑使用canvas或虚拟滚动技术优化

# 1. 无响应式布局 ## 问题描述 在浏览器打开网站时,小窗口显示正常,但是按F11或点击浏览器的全屏后,网页布局会发生不应有的尺寸问题,变得很小,位置也不居中,需要刷新后才能解决,同样,从大屏切换至小屏或其他改变尺寸的行为时该问题也会发生 ## 图片展示 ![Image](https://github.com/user-attachments/assets/a091549a-00e3-422e-be9a-f15ca0e68aee) ![Image](https://github.com/user-attachments/assets/fe9f550e-9f49-4f35-92d9-b6bd437f7599) ## 修改建议 我想到了两种方式解决 1. 使用响应式css布局,通过css媒体查询或使用相对单位解决,但可能要改动蛮多样式代码 2. 观察到刷新后会进行修改尺寸,应该是在 useEffect 中有相应的代码,可直接将那个函数注册进 window :resize 事件,如下代码: ```jsx function app(children){ useEffect(()=>{ window.addEventListener("resize", YOUR_RESIZE_FUNCTION) return ()=>{...

Fixes #836 I use 2 use effect to avoid the trouble, it can work successfully. Tips: I don't change the json, llms, mdx, and so on, but I change the...

### Describe the bug When I change my theme, I also change my highlighter color too. But when the color is changed, the prevent hightlighter don't remove, and new hightlighter...

bug

I really like the editer. But it can only output text, html or json currently. I think markdown output is neccessary.

Framer-Motion has been fully migrated to MotionJS, and the official has also recommended that all projects switch to Motion. Therefore, Heroui should stop using Framer-Motion and migrate to Motion. I...