Login button on /login does not respond to clicks (form.requestSubmit() works)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start by tracing the login form and ia-button click handling in the repository’s web components; the issue names no source files or tests. Reproduce the Firefox failure and compare clicking the button with the working form.requestSubmit() workaround, then inspect whether the reported console errors affect submission. Done when clicking Log in submits the valid form and the behavior is covered by a regression test.
由索引模型根据 Issue 内容生成。
描述
Problem
The “Log in” button on [archive.org/login](https://archive.org/login) does nothing when clicked. The form is valid and can be submitted programmatically, but the button’s click handler never fires. Console shows multiple Google Sign-In / CSP / CORS errors on page load that appear related.
Reproducing the bug
- Go to [archive.org/login](https://archive.org/login)
- Enter a valid email and password
- Click the “Log in” button
- Expected behavior: Form submits and the user is logged in
- Actual behavior: Nothing happens. No network request, no error message
Workaround that succeeds in the console:
document.querySelector('app-root').shadowRoot
.querySelector('login-page').shadowRoot
.querySelector('form')
.requestSubmit();
Calling .click() on the ia-button class="submit-btn" also does nothing.
Context
- Browser (Chrome, Safari, Firefox, etc): Firefox
- OS (Windows, Mac, etc): Windows
- Logged in (Y/N): N
- Environment (prod, dev, local): prod
Relevant console errors on load include CSP blocks on inline scripts, google.accounts.id.initialize() called multiple times, CORS failures to play.google.com/log, and MIME-type issues from apollo.archive.org. The button is an ia-button class="submit-btn" inside nested shadow roots under app-root, login-page.
Breakdown
Implementation Details (for maintainers)
Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
- 主要语言
- TypeScript
- 星标
- 18
- 派生
- 5
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 15
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
internetarchive/elements 的其他 Issue
-
Add shared dark-surface color tokens to theme-styles.ts可能重新可做 @jbuckner 于 105 天前认领,目前没有进行中的 PR。 未关闭
internetarchive/elements#66 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Create contributor wiki page可能重新可做 @jbuckner 于 351 天前认领,目前没有进行中的 PR。 未关闭
internetarchive/elements#14 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add Github Issues / PR Templates可能重新可做 @jbuckner 于 353 天前认领,目前没有进行中的 PR。 未关闭
internetarchive/elements#13 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Component Catalog Improvements可能重新可做 @jbuckner 于 353 天前认领,目前没有进行中的 PR。 未关闭
internetarchive/elements#11 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Connect git repo to slack可能重新可做 @jbuckner 于 353 天前认领,目前没有进行中的 PR。 未关闭
internetarchive/elements#9 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 internetarchive/elements 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
makecindy/cindy#15342 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
kwitsch/claude-code-plugin-tooling#219 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
no-repo-link tool-submission
难度 1/5 1 小时以内 新手友好度 74/100
BraveOPotato/NoSignups#2618 ·
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100