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

Fix unclickable gallery buttons on firefox #34

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

dougwhite
Copy link
Contributor

When opening the image gallery via the feed in Firefox, the close/next/prev buttons are not clickable.

It appears Firefox doesn't support pointer-events: bounding-box on buttons, I'm not sure but after a bit of research it looks like the property is SVG only, and chrome just supports it regardless.

PR changes the CSS on the buttons to pointer-events: auto, confirmed to work on both Firefox and Chrome.

I just started using this extension <3 love it so far, so thank you for your hard work.

@dougwhite dougwhite requested a review from melMass as a code owner July 25, 2023 04:32
@melMass
Copy link
Owner

melMass commented Jul 25, 2023

Oh I did not test on non chromium based browsers! Thanks for the PR and support, I'll merge it

Copy link
Owner

@melMass melMass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants