react-native-loading-spinner-overlay icon indicating copy to clipboard operation
react-native-loading-spinner-overlay copied to clipboard

Cancelable Spinner not work

Open JairoJB99 opened this issue 4 years ago • 4 comments
trafficstars

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}
/>

JairoJB99 avatar Feb 01 '21 15:02 JairoJB99

Even I am facing the same issue. <Spinner visible={spinStatus} textContent={'Loading...'} cancelable={true} />

Harshitha-syn avatar Feb 02 '21 09:02 Harshitha-syn

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?

imavipatel avatar Jun 29 '21 10:06 imavipatel

Even I am facing the same issue. <Spinner visible={spinStatus} textContent={'Loading...'} cancelable={true} />

Did you find the solution?

imavipatel avatar Jun 29 '21 10:06 imavipatel

no solution here

fukemy avatar Aug 26 '22 07:08 fukemy