akshitagupta15june / Moksh

Unlock your potential and achieve true balance in life with Moksh
https://akshitagupta15june.github.io/Moksh/
MIT License
213 stars 427 forks source link

[BUG] Clicking Copy Button Should Copy Link, Not Clicking Share Button #1600

Closed Pranjalidhale0711 closed 1 month ago

Pranjalidhale0711 commented 1 month ago

Description

Currently, clicking the Share button automatically copies the link to the clipboard. This is not the intended behavior. The link should only be copied when the user clicks on the Copy button that appears after clicking the Share butto

Expected behavior: Clicking the Share button should display a Copy button. The link should only be copied to the clipboard when the Copy button is clicked.

Actual behavior: The link is copied to the clipboard immediately upon clicking the Share button.

Reproduction Steps

1]Navigate to POWER OF KNOWLEDGE BLOG page 2]Click on the Share button. 4]Observe that the link is immediately copied to the clipboard.

Screenshots

Screenshot 2024-05-22 at 11 41 22 PM
github-actions[bot] commented 1 month ago

Congratulations, @Pranjalidhale0711! 🎉 Thank you for creating your issue for Moksh. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! Should you have any queries or require guidance, do not hesitate to ask.

Pranjalidhale0711 commented 1 month ago

@akshitagupta15june Please assign this to me so that I can add functionality to the copy icon.

akshitagupta15june commented 1 month ago

Go for it!