shafa vp
shafa vp

Reputation: 83

Submit and Cancel Button not working in react google picker

Submit, Cancel, close Buttons are not working in react google picker , But can select file by double clicking the file

bug image

import GooglePicker from "react-google-picker";

<GooglePicker
  clientId={"**********"}
  developerKey={"*********"}
  scope={["https://www.googleapis.com/auth/drive.file"]}
  onChange={(data) => googleDriveFilePicked(data)}
  onAuthenticate={(token) => { setToken(token) }}
  onAuthFailed={(data) => console.log("on auth failed:", data)}
  multiselect={false}
  navHidden={false}
  authImmediate={false}
  mimeTypes={["application/pdf", "application/vnd.google-apps.folder"]}
  viewId={"DOCS"}
>
  <Button className="drive-logo-section" <img alt="Google" src={Google} />
  </Button>
</GooglePicker>

git link : https://github.com/sdoomz/react-google-picker/issues/38

Upvotes: 1

Views: 214

Answers (0)

Related Questions