-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(about): focus states #12225
fix(about): focus states #12225
Conversation
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
@@ -59,13 +58,16 @@ export class TeamMember extends LitElement { | |||
super.connectedCallback(); | |||
this.tabIndex = 0; | |||
this._setID(); | |||
this.addEventListener("focus", this._focus); | |||
if (window.location.hash === `#${this.id}`) { | |||
setTimeout(() => this.focus(), 100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have something competing here, or we're not yet in the DOM. Take a look @LeoMcA
If we keep it we might wanna manage it the lit way.
49f8ee7
to
c459c5f
Compare
Summary
Bundled feedback PR (work in progress)