File upload using ostrio files refershes the page


Hi, I am using ostrio:files for file uploading basically image, but when I select the image my pages refreshes and the other content on other text view gets lost. I look at the demo repository on github, code is same but not working on my end.

I don’t want my web page to refresh when I select the file for upload. I also tried for event.preventDefault() but not gettting the right solution.

Please help if anyone faces the same problem.