Skip to content
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

All dropdowns close automatically #28

Closed
Jameskmonger opened this issue Feb 21, 2016 · 4 comments
Closed

All dropdowns close automatically #28

Jameskmonger opened this issue Feb 21, 2016 · 4 comments

Comments

@Jameskmonger
Copy link

I've noticed that the dashboard context switcher closes automatically for about 5 seconds after the page has loaded. After that time, it opens and closes as expected.

@Jameskmonger
Copy link
Author

This appears to be a duplicate of #19 by @hkdobrev but with a different resolution method (click and hold vs wait).

@sindresorhus, would you like me to close this?

@Jameskmonger Jameskmonger changed the title Dashboard context switcher closes automatically All dropdowns close automatically Feb 21, 2016
@Jameskmonger
Copy link
Author

This doesn't appear to just affect the dashboard context as described in #19. It also affects the profile drop down in the top right.

@paulmolluzzo
Copy link
Contributor

@jameskmogner I think you're right and this can be closed as duplicate. PR #27 might be a fix but waiting on some feedback/testing for a merge. Maybe give that a shot?

@paulmolluzzo
Copy link
Contributor

The underlying cause is the btn.click() firing every 250ms until you're entire feed history is loaded. For an old account it'll last a while. It doesn't matter what dropdown you use, it's clicking outside of the dropdown in that "More" button, which is why they get closed. It's a duplicate cause even if it's a different effect than originally described.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants