Closed dhwaj1902 closed 3 years ago
Good change! I would suggest making a fab button offset above the bottom navbar.
@adarsh-technocrat done☺.
Hey, @Abhijay007 thanks for reviewing.
In your first suggestion, I found it amazing and have removed the previous scroll to top button from the following pages:
While doing this, I found on Routes Page that the routes of terms-and-conditions
, about
and faq
are repeated as shown in the picture.
So, I have removed it.
As in your second suggestion, since we are making an app, I think so we are not focussing on that how it looks on the web. That's totally my view but if you want then I can implement it, but the problem is that I have added the following lines for making it fixed on the right bottom, so if I changed it then it will also impact mobile view.
right: "10px",
bottom: "65px",
If we removed the height issue, then I have done it in a way that if page offset is greater than 400 then it will show, else it will not.
Sorry if I am not able to understand what you are trying to say.
@Abhishek-kumar09 Please look into this Pr.
We are gonna remove the scroll to top button in the future version of app. Currently, the scroll to top is looking with center aligned and full color opacity.
@dhwaj1902 you can close this PR as we may don't need back to top button in the future versions of the application.
Related to Issue#277
Added Scroll To Top Button is a Floating Action Button, and it triggers when the page offset is greater than 400.![image](https://user-images.githubusercontent.com/57860123/115498644-9510eb80-a28b-11eb-8229-41721e430fb1.png)
Advantages: No need to add a separate ScrollToTop button on every page.