raisezhang

Results 10 comments of raisezhang

在动态加载组件时,能在加载组件的过程中,渲染一个 loading 组件么。 把当前的页面替换掉~ 主要是点击后页面延迟相应这个效果有点差~ 类似于 `{cb(null, LoadingWidget);}} getComponent... />`

Same issue here, ![image](https://user-images.githubusercontent.com/1481983/65760342-6bdfb600-e14f-11e9-8a39-1de913c0c9ed.png)

I found that if the disabled cache was turned on, there would be two requests. Disabled this option won't have this problem. Turn on ```Disable cache```: ![image](https://user-images.githubusercontent.com/1481983/66533142-74b78b00-eb44-11e9-8eba-345e9baeb721.png) Turn off ```Disable...

yes it's a bug in safari. You can temporarily use version 0.22, I will fix this problem in a few days.

What browser are you using? Shouldn't be caused by a machine. Can give a reproducible demo?

Are there some error messages?

- 确实会有直接 mouseup,未清除 draggable 属性的问题 - 在拖动的元素上添加透明度,目前大部分浏览器默认会加透明度,你那边是要自定义透明度么? - 如果要改这个问题可能需要修改下逻辑, 比如 https://github.com/raisezhang/react-drag-listview/blob/master/src/ReactDragListView.jsx#L70 这块添加的 attribute 及 drag 相关的事件, 在对应的 mouseUp 事件去清除(目前是在 dragEnd),似乎在 mouseUp 清除会更合理些 https://github.com/raisezhang/react-drag-listview/blob/master/src/ReactDragListView.jsx#L236 - 如果您时间允许,欢迎 PR, 如果没有我可能会过一段时间修复 - 关于 d.ts,同样也欢迎...