adds ability to have scrollable back to top#168
adds ability to have scrollable back to top#168N6REJ wants to merge 14 commits intojoomla:developmentfrom N6REJ:scrolltotop
Conversation
|
what is the difference between back to top and scroll to top? |
|
guess I should include backend screen shot... back to top is stuck in footer |
|
I meant what is the difference so that we need two |
|
if they choose back-to-top its a sticky that is ONLY in the footer container. Never leaves footer. |
|
Thank you for the explanation - my 2c I would only offer one |
I agree but having a back-to-top that doesn't stay in the viewport is very non traditional and what they wanted as default state. |
|
I wish I could hide when above the fold but w/o javascript thats not possible afaik |
|
You can do it with just css https://moderncss.dev/pure-css-smooth-scroll-back-to-top/ |
100% agree. It makes no sense to have both of them, and it may even confuse the user. |
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
|
@brianteeman @richard67 thanks guys, idk how that stuff slipped past me. |
|
@N6REJ When I scroll to the bottom of the page I see the following styling: |
|
@hans2103 I'll just let you run with it then... You've changed it quite a bit. |
…totop move backToTop outside of footer and apply styling


Pull Request for Issue # .
Summary of Changes
Adds ability for "smart" back to top where...
button is hidden until content is scrolled.
Testing Instructions
check that backtotop button works in footer and turns on/off
load pr
run npm ci
check that button states are as listed above.
Expected result
backend

desktop

iphone11

note8
![image](https://user-images.githubusercontent.com/1850089/94995659-49a02580-0565-11eb-8b15-000bed189603.jpg
Actual result
Documentation Changes Required
none