1

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

4
  • is the event being received? Commented May 11, 2022 at 5:13
  • yes, i can select the file and access file data by double clicking the file. git issue link github.com/sdoomz/react-google-picker/issues/38 Commented May 11, 2022 at 5:46
  • Can you see any errors in the developper console in the browser? Commented May 11, 2022 at 7:25
  • No errors in console. Commented May 11, 2022 at 14:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.