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

Search disappears on loss of focus #7

Open
shakethatweight-simon opened this issue Sep 18, 2020 · 2 comments · May be fixed by #9
Open

Search disappears on loss of focus #7

shakethatweight-simon opened this issue Sep 18, 2020 · 2 comments · May be fixed by #9

Comments

@shakethatweight-simon
Copy link
Contributor

@drazenbebic I don't know if you have any thoughts on this already. We've noticed it's very easy for the search box and list of users to be hidden if the mouse looses focus over the element in the admin bar. I'm looking at methods to keep it on screen until dismissed.

@shakethatweight-simon
Copy link
Contributor Author

@drazenbebic Using thickbox for the modal I've got a partial solution to this, but it needs a bit more work. Will finish on Monday and update this issue with my suggestion.

shakethatweight-simon added a commit to shakethatweight-simon/admin-bar-user-switching that referenced this issue Sep 21, 2020
@shakethatweight-simon
Copy link
Contributor Author

@drazenbebic Can you take a look at the commit above, solves usability issues with the admin bar sub-menu disappearing on a loss of focus. Displays as a modal overlay instead, using the thickbox code which is bundled with wp-admin for the plugin information modals. Works on admin and frontend (assuming that on frontend the theme has implemented wp_footer hook, which most of them will have one).

Screenshot 2020-09-21 114702

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