Conversation
|
Difficult to test since the main issue is only present in spaces/ iframes. |
|
Actually @aliabid94 would you be able to review this? |
|
ok will test |
|
|
||
| async function handle_mount() { | ||
| await tick(); | ||
|
|
There was a problem hiding this comment.
why are we affecting all links on the page?
There was a problem hiding this comment.
Because we want to open them all in a new tab (including any links that are generated via markdown, which is why we need to do it this way), this was previously being done with the base element but that also affects form actions which we don't want because of the login form in iframes.
|
I didn't quite understand how this fixed the problem, but auth works locally when I tested it at least. LGTM otherwise |
|
Yeah sorry, I didn't elaborate. A while ago we added the base element with a |
abidlabs
left a comment
There was a problem hiding this comment.
Unfortunately, does not seem to work on Hugging Face Spaces.
I released gradio==3.0b8 with the changes in this branch, and it works locally and with share=True. However, it doesn't seem to work on Spaces. Here's a sample Space I bult to test: https://huggingface.co/spaces/abidlabs/hello-login
Uh oh!
There was an error while loading. Please reload this page.