Sw
Sw
react-native: 0.59.9
"react-native-amap-geolocation": "^0.3.2" 换这个版本就link成功了
"@types/react-native-modals": "^0.19.0", "react": "16.13.1", "react-native": "0.63.3", "typescript": "^3.8.3"
"react-native-modals": "^0.22.3",
@DanielMartini This is not applicable. If there is a delete function, it can not be dragged after deleting.
The latest solution combined with @indivisable 's answers. { this.onDrag(false) }} onDragRelease={(itemOrder) => { this.onDrag(true) }}
只要能实现效果 怎样都行。要是后端会返回图片的宽高的话,在通过计算出当前的view的padding百分比效果会更加