react-native-loading-spinner-overlay
react-native-loading-spinner-overlay copied to clipboard
Cancelable Spinner not work
Hi, I have a problem when using the spinner and it is that I pass them the property "cancelable={true}" to be able to cancel the spinner when the back button of my mobile device is pressed, but it doesn't do it. I have tried to overwrite the back action with React Navigation 5 and change the value of "visible" to false but it didn't work.
<Spinner
overlayColor={"rgba(0,0,0, 0.65)"}
color={"red"}
visible={this.state.globalFetchingStatus}
cancelable={true}
/>
Even I am facing the same issue. <Spinner visible={spinStatus} textContent={'Loading...'} cancelable={true} />
Hi, I have a problem when using the spinner and it is that I pass them the property "cancelable={true}" to be able to cancel the spinner when the back button of my mobile device is pressed, but it doesn't do it. I have tried to overwrite the back action with React Navigation 5 and change the value of "visible" to false but it didn't work.
<Spinner overlayColor={"rgba(0,0,0, 0.65)"} color={"red"} visible={this.state.globalFetchingStatus} cancelable={true} />
Did you find the solution?
Even I am facing the same issue. <Spinner visible={spinStatus} textContent={'Loading...'} cancelable={true} />
Did you find the solution?
no solution here