BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[BUG] background visible

Open priyazsh opened this issue 3 years ago β€’ 23 comments

Description

In glow mode, the background is visible in the links. You can check on my profile. https://www.biodrop.io/oyepriyansh

Screenshots

IMG_3677

Do you want to work on this issue?

No

Additional information

No response

priyazsh avatar Oct 11 '23 17:10 priyazsh

To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/BioDrop/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md

github-actions[bot] avatar Oct 11 '23 17:10 github-actions[bot]

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md

github-actions[bot] avatar Oct 12 '23 12:10 github-actions[bot]

I can give this a shot. Thanks!

micahyoung324 avatar Oct 12 '23 12:10 micahyoung324

Hi, Can you please assign this issue to me.

Shubhashish77 avatar Oct 12 '23 12:10 Shubhashish77

Can this be assigned to me, please? Thanks.

mehra-sourav avatar Oct 12 '23 13:10 mehra-sourav

I would like to take it up. Thankyou!

Abhishek-90 avatar Oct 12 '23 14:10 Abhishek-90

Thank you for your enthusiasm. Before this issue is assigned to anyone (and points allocated), if you would like to work on this issue please comment on what technical solution you would use.

SaraJaoude avatar Oct 12 '23 15:10 SaraJaoude

I am not able to reproduce the issue, can you give steps to reproduce

image

Tanush-J avatar Oct 12 '23 15:10 Tanush-J

Hey! @oyepriyansh I can give it a try.

I am not the maintainer of this repository. You can just leave a comment here, and a maintainer may assign the task to you

priyazsh avatar Oct 13 '23 03:10 priyazsh

Hey @oyepriyansh, can you give more details on the issue since everything looks fine when I open your site

mianakbarjan avatar Oct 13 '23 07:10 mianakbarjan

@oyepriyansh , image Everything looks fine when i open your site! Please provide more details

Karan-Palan avatar Oct 13 '23 07:10 Karan-Palan

Could you provide the steps to reproduce the bug @oyepriyansh ? It seems like a lot of devs can't seem to replicate the bug, including me.

mehra-sourav avatar Oct 13 '23 12:10 mehra-sourav

Tried it on Firefox, Edge, and Chrome but this looks fine to me.

mozi47 avatar Oct 13 '23 17:10 mozi47

Tried it on Safari Browser. The issue persists. Screenshot 2023-10-14 at 6 11 49β€―PM

Shauryagulati avatar Oct 14 '23 12:10 Shauryagulati

I could reproduce the issue (Safari). It seems like there is a rounded-full value missing on the parent div of the a. I would be happy to work on this issues πŸ™‚

YuriDevAT avatar Oct 21 '23 15:10 YuriDevAT

I could reproduce the issue (Safari). It seems like there is a rounded-full value missing on the parent div of the a. I would be happy to work on this issues πŸ™‚

Thanks @YuriDevAT ! I have assigned this to you.

SaraJaoude avatar Oct 22 '23 09:10 SaraJaoude

Conclusion

❗After thoroughly researching the topic, I came to the conclusion that either

  1. reduce the effect in general or
  2. leave it and hope for Safari Browser support in the future.

Why? My findings

Safari does not support Animation on selectors like ::before or ::after.

selector support ::after on safari for animation

When removing (or reducing) the animation, in this particular case it is the background-size on ::after which should be reduced to 100%, removes the buggy background, which is only a problem in Safari. Therefore it would make sense to get somehow the information if the user is currently in a Safari browser. I tried to use userAgent as well as @support but both did not work.

Result: The animation effect is not that intense anymore.

Example of @support

@supports
selector(:nth-child(1 of x)) {
...
}

More details:

I created an article on dev.to to explain in detail, share code and screenshots, and get help from other developers who are more experienced with CSS Animation.

Pull Request

Please let me know how I should proceed with this issue

  1. If I should wait for someone who comes up with a better support rule which works for sure (but even those can be outdated soon),
  2. if I should reduce the background-size in general, or
  3. if I should leave it as it is (I guess, the issue gets closed, no PR needed)

YuriDevAT avatar Oct 28 '23 16:10 YuriDevAT

Thank you @YuriDevAT for the detailed research πŸš€

Can we see what it looks like using option 2 "the reduced background size"?

eddiejaoude avatar Oct 31 '23 11:10 eddiejaoude

Please find the link to my codepen, which has currently the reduced background size.

https://codepen.io/YuriDevAT/pen/NWoPwpx

If you comment out line 61, you can see the difference. By setting the size down to 100%, the effect is almost only on the ::before and not that that WOW πŸ‘€ anymore.

YuriDevAT avatar Nov 03 '23 14:11 YuriDevAT

I would like to take it up. Thankyou!

mahesh-s33 avatar Nov 08 '23 19:11 mahesh-s33