MomenSherif / react-oauth

Google OAuth2 using the new Google Identity Services SDK for React 🚀
https://www.npmjs.com/package/@react-oauth/google
MIT License
1.13k stars 141 forks source link

oneTap toggle doesn't work? #363

Open Kimblis opened 3 months ago

Kimblis commented 3 months ago

These are my options:

 <GoogleOAuthProvider clientId={import.meta.env.VITE_GOOGLE_CLIENT_ID}>
      <GoogleLogin
        onSuccess={onSuccess}
        onError={onError}
        width={matchesMobile ? 300 : 400}
        logo_alignment="left"
        auto_select={false}
        useOneTap={false}
        theme="outline"
      />
    </GoogleOAuthProvider>

However I still see this: image And I don't like this drastic layout shift. How can I turn this off? ...

DrRek commented 2 months ago

Completely agree the button is completely messed up and the toggle doesn't work.

image

just for a couple of seconds I do get the proper button:

image