JiyaGupta-cs / mytwit

Social media platform for disabled individuals
https://mytwit.vercel.app
9 stars 30 forks source link

Add go to top button #55

Closed rahat2134 closed 4 months ago

rahat2134 commented 5 months ago

Fix issue : #47

Screenshot 2024-01-24 at 11 02 59 AM
vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mytwit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 5:34am
rahat2134 commented 5 months ago

@JiyaGupta-cs please check the pr. please check discord also.

JiyaGupta-cs commented 5 months ago

@rahat2134 It works only when you scroll in the "What's happening section" but not in the Posts section

amanswarnakar commented 5 months ago

Hey @JiyaGupta-cs, I would like to work on this issue under JWOC'24.

rahat2134 commented 5 months ago

@rahat2134 It works only when you scroll in the "What's happening section" but not in the Posts section

@JiyaGupta-cs i tried too much things to add gototop button on scroll bar but its not working, can you help me. In which folder i need to add component of button, I tried most of website but the button remain on the screen and not in scroll/post section.

varshith257 commented 4 months ago

@rahat2134 It works only when you scroll in the "What's happening section" but not in the Posts section

@JiyaGupta-cs i tried too much things to add gototop button on scroll bar but its not working, can you help me. In which folder i need to add component of button, I tried most of website but the button remain on the screen and not in scroll/post section.

@rahat2134 This can be resolved by adding a second useEffectblock with use of EventListener to thewindow to listen for a scroll for Posts container

For your reference: https://stackabuse.com/how-to-scroll-to-top-in-react-with-a-button-component/

JiyaGupta-cs commented 4 months ago

@rahat2134 Will you work on it? Or @varshith257 Do you wish to take up the issue?

rahat2134 commented 4 months ago

@varshith257 go for it.

varshith257 commented 4 months ago

@rahat2134 Will you work on it? Or @varshith257 Do you wish to take up the issue?

@JiyaGupta-cs Let them work. :) I will provide any guidance if required. Let's ensure their efforts are not in vain and guide them to build progress

varshith257 commented 4 months ago

@varshith257 go for it.

@rahat2134 Get Spirit it man! You can resolve it. You have made efforts to solve it with bit changes you can successfully solve it

varshith257 commented 4 months ago

@JiyaGupta-cs Assign it to me. I will make a immediate PR

JiyaGupta-cs commented 4 months ago

@varshith257 ok

JiyaGupta-cs commented 4 months ago

@varshith257 Fix the issue

JiyaGupta-cs commented 4 months ago

@varshith257 Comment on the issue and I will assign you at the issue

varshith257 commented 4 months ago

@varshith257 Comment on the issue and I will assign you at the issue

@JiyaGupta-cs Mybad! Sorry for the late reply. I am not active here due to exams. Someone has fixed it let them work