# FAQ

# What should I do if I encounter a freeze in IOS slide mode

Call refresh in setTimeout,

{
   handleLoadBeforeDeactivate(vm, loadDom, done) {
      fetchData("remoteurl").then(response => {
        this.data = response.data;
        // Note:
        // Because we have to let vue render the new data first
        // So call refersh in setTimeout
        setTimeout(() => {
          this.$refs.vs.refresh();
        }, 100)
      });
    },
}

TIP

If you encounter other stuck situations, you can also call refresh

Last Updated: 8/1/2020, 4:09:23 PM