Open bipindubey-technoark opened 4 years ago
Did you fix it yet?
Did you find a solution for this @bipindubey-technoark. Or at least a way to identify the close event in callback?
I am encountering the same issue until now. Is there a fix for this? This seems to be a bug because it automatically logs in the user even if you do not enter valid credentials.
Did anyone able to find a solution for this @hamish0361 @bipindubey-technoark ?
I am currently facing issue in react-facebook-login. when we click on facebook button a modal is opened but if we close that modal then also callback function is get called. i dont have to call function if modal is closed. Following is my code
<FacebookLogin appId="XYZ" fields="name,email,picture" onClick={componentClicked} callback={responseFacebook} cssClass={classes.facebook} size="small" textButton='Facebook' />
for now componenetclicked function just print some dummy data and in responseFacebook function i call api. I have to prevent to calling to responseFacebook if modal is closed. Thanks