jquite opened this issue 2 years ago · 1 comments
版本:1.2.2
如题,在overlayRender自定义内容中添加点击事件,事件改变hooks设置的值,会导致index=-1
代码:https://github.com/jquite/react-photo-view-example