-
Notifications
You must be signed in to change notification settings - Fork 203
Unable to open logout menu #3024
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
Comments
Actually, it seems to reproduce on production but only in Firefox? Working in production in Chrome, but not staging. I am very confused. |
In a private tab in Firefox, on production this is working as expected. Still confused. |
And now in a regular tab in Firefox on production this is working. But not on staging in Chrome. 👀 |
Working in Safari... this might just be Chrome Canary bug territory. |
This is not working for me in Firefox and Chrome, but only on this page https://webcompat.com/issues/new . Same on staging. |
Seems to be working only on the main page and not on internal pages :) |
Nice catch @ksy36! For some reason the event handler isn't getting set on the dropdown... |
<li class="nav-item login js-login-link js-DropdownHeader">
<button class="nav-button nav-link" aria-expanded="false" aria-label="My account">
<img class="login-avatar-img" src="https://avatars0.githubusercontent.com/u/505230?v=4" alt="User Avatar">
<svg class="icon nav-icon" viewBox="0 0 30 30" role="presentation" aria-hidden="true">
<use xlink:href="#svg-chevron-right"></use>
</svg>
</button>
<div class="nav-dropdown-wrapper">
<ul class="dropdown">
<li class="nav-dropdown-item">
<a class="nav-link" href="/me">My Activity</a>
</li>
<li class="nav-dropdown-item">
<a class="nav-link" href="/logout">Logout</a>
</li>
</ul>
</div>
</li> |
We set the handler on the homepage here: webcompat.com/webcompat/static/js/lib/homepage.js Lines 50 to 66 in 5e14037
|
220d5c3 |
STR:
expected: dropdown opens
actual: nothing?
Doesn't reproduce on production, AFAICT.
The text was updated successfully, but these errors were encountered: