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

View With selector in admin bar not working as expected in Firefox web browser. #2907

Closed
3 tasks done
ipokkel opened this issue Mar 26, 2024 · 1 comment · Fixed by #2953
Closed
3 tasks done

View With selector in admin bar not working as expected in Firefox web browser. #2907

ipokkel opened this issue Mar 26, 2024 · 1 comment · Fixed by #2953

Comments

@ipokkel
Copy link
Member

ipokkel commented Mar 26, 2024

Describe the bug
When logged in as an administrator the "View As" selection in the admin bar does not allow selection when using the Firefox web browser. This does not occur when using a Chromium-based browser.

To Reproduce
Steps to reproduce the behavior:

  1. Log in to site as an administrator using Firefox as web browser
  2. Go to a member's only post
  3. From the admin bar, click on "View: With Access" dropdown
  4. Notice that the dropdown immediately closes up and does not allow selecting another options

Screenshots

Screen.Recording.2024-03-25.at.20.09.06.mp4

Expected behavior
Administrators should be able to select a "View As" option when using Firefox.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment

Paid Memberships Pro 3.0
@andrewlimaza
Copy link
Contributor

For now, admins can revert back to using this code snippet if they're on FireFox while we look into this issue further - https://gist.github.com/andrewlimaza/823ddff62b8aedafc4d4d6663ab9f695 (and tweak this to remove or add access)

I was able to replicate it with FireFox.

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