googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.08k stars 2.53k forks source link

Sign in with Google button with width #581

Open haru07 opened 1 year ago

haru07 commented 1 year ago

I have set a width for my Sign In with Google button and recently found that it's not being rendered. I see this error in the console log:

client:128 Uncaught Error at _.$e (client:128:335) at new sp (client:227:3) at bq (client:246:34) at Oo (client:244:246) at Object.Po [as renderButton] (client:216:62)

It works fine if I only set the theme.

I have tried the same in the configurator and has the same error: https://developers.google.com/identity/gsi/web/tools/configurator

configurator11ee98b7fa0ff24710a4d5584b44bfbc2c7464942edae3b1f55396f1caf3053e.frame:1981 gsi library failed to load Error at .$e (client:128:335) at new sp (client:227:3) at bq (client:246:34) at Oo (client:244:246) at Object.Po [as renderButton] (client:216:62) at StandardButtonTab.refreshButton (configurator_11ee98b7fa0ff24710a4d5584b44bfbc2c7464942edae3b1f55396f1caf3053e.frame:1974:26) at StandardButtonTab.refreshButton (configurator_11ee98b7fa0ff24710a4d5584b44bfbc2c7464942edae3b1f55396f1caf3053e.frame:2139:11) at HTMLDivElement. (configurator_11ee98b7fa0ff24710a4d5584b44bfbc2c7464942edae3b1f55396f1caf3053e.frame:2009:41)

This only happened for these couple of days.