Results 29 comments of Elvis Liao

I have implemented this feature in pr #94 : )

@ferrymo Modified projects are saved to the browser's indexedDB database, and each different project has stored in File > Open again in Open, as long as you do not empty...

I think we can develop a keyword search feature. Here is the design sketch: ![image](https://github.com/drawdb-io/drawdb/assets/48666585/12b3485f-4043-419a-8514-9a4fdf14a2f6)

![image](https://github.com/drawdb-io/drawdb/assets/48666585/6816d234-bc1a-4069-91be-53ad6a172f25) We can add the 'addOnBlur' attribute to TagInput to trigger the split behavior when the input box loses focus. I'll submit a pull request to fix this issue.

Hello,是指开启虚拟滚动时,选中选项后再次打开选项列表时将所选项垂直居中吗 ![image](https://github.com/DouyinFE/semi-design/assets/48666585/60cdff64-04a1-4d9e-b1d6-917d9baf6de8) ![image](https://github.com/DouyinFE/semi-design/assets/48666585/f96b44dc-73da-4979-ad39-25f87276f541)

> 尝试了修改后的效果。 由于在 #1890 开始允许鼠标不在图片上也可以进行缩放操作,导致在修改后,如果鼠标不在图片上,开始放大图片,则一开始的缩放中心是页面中心,后面当图片逐渐放大,鼠标将出现在图片区域,缩放中心变成鼠标位置,视觉效果上有点问题。 > > 缩放的时候同样如此,如果鼠标在图片上,一开始的缩小中心时鼠标位置,后面图片缩小,即使鼠标还在图片上,视觉上看看,缩放中心也变成了页面中心。 > > ### 对于中心切换的问题,是否有更好的处理方式呢?🤔 这个效果是在我的预期内的,个人感觉这样的方式也符合用户习惯,windows 的照片和微信的图片预览也是一样的缩放逻辑: https://github.com/DouyinFE/semi-design/assets/48666585/45ed8a37-9d09-4df6-b9b4-2611e7eaaa13 https://github.com/DouyinFE/semi-design/assets/48666585/3b5e0d5c-df8b-4ed6-a99b-e4f69df31cfa

@YyumeiZhang Hello,请问一下这个地方为什么要在 `currZoom === _zoom` 的时候才执行更新 zoom 的操作呢 https://github.com/DouyinFE/semi-design/blob/bca3ec6cacab37e257a46ea9165416d1d82728e9/packages/semi-foundation/image/previewImageFoundation.ts#L122C13-L124C21

使用 rotation 旋转之后,使用 left 和 top 定位还是按原来未旋转的 DOM 来定位的,当同样设置 left 为零时,是下图的这种情况: ![image](https://github.com/user-attachments/assets/b1304c1d-7ae5-46af-bb0d-b25ad9412c31) 为了减少计算的复杂度,将图片定位的方式改为了:父元素使用 flex 让 image 居中,image 使用 translate 进行偏移

由于低版本的浏览器不支持 CSS 的 `translate` 属性,所以将 `translate` 写到了 `transform` 里面,而 `transition` 没办法单独作用于 `transform` 的某个变换中,这会导致一些问题,所以暂时把过渡效果移除了

@uyarn 是要合并一下主分支的代码吗 第一次给这个仓库提pr,不太清楚流程,不好意思😂