-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
feat: Unblur on click by default + add unblur on hover option #290
base: main
Are you sure you want to change the base?
Conversation
EDIT: Never mind, links still open immediately after one tap with those rules added (although it prevents the open in new tab modal from popping up on long press). |
@sigaloid I've made this option the new default since unblurring on hover doesn't work on mobile, if that's alright? |
Can you please have a look if changing |
…unblur all focused content
@Kijewski looks like that did the trick, thanks! Will it have to be changed back if Rinja changes? |
You won't have to change it back. The asterisk |
When browsing on mobile, to reveal a blurred image, you have to press and hold until the open in new tab modal pops up, then tap off to see the image. It's far more intuitive to just tap on it to unblur it, but since the image is a link, doing that loads the webpage of the image.
This PR adds functionality for links to be disabled when blurred, for blurred content to be unblurred on click, and for links to be reenabled when unblurred. A new wrapper div around thumbnail images is required because
pointer-events: none;
also disables focusing on click.I don't have much experience with Rust so any help with actually adding this option to the settings is welcome.