keshavkaul / react-native-sketch-view

A React Native component for touch based drawing supporting iOS and Android.
MIT License
99 stars 47 forks source link

clearSketch() function and localFilePath props aren't compatible with each other #24

Open codepujan opened 6 years ago

codepujan commented 6 years ago

I rendered the sketchview currently , and localFilePath comes from a state variable . when I call clearSketch() I make sure state is changed (resetting the localFilePath ) , but the Sketchview shows empty white canvas instead of the one with localFilePath . Basically , I am planning to clear and redraw localImage . But , it's not happening Is there something I am doing wrong or is this a bug ?