Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: make the back-to-top JS vanilla ES6 (jQuery free), resolves #119. #703

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Menrath
Copy link
Contributor

@Menrath Menrath commented Aug 22, 2024

Issue-119: #119

I also added a handwritten throttle function, the current setting of 200ms seemed reasonable for me, but I welcome any other thoughts on this.

Additionally one could also think of making the scrollDistance (when the Button is shown) better configurable.

@Menrath Menrath marked this pull request as ready for review August 22, 2024 15:21
@Menrath Menrath force-pushed the issue-119 branch 2 times, most recently from f068343 to fe99a6f Compare August 26, 2024 09:05
@Menrath Menrath changed the title Issue-119: Make the back-to-top JS vanilla ES6 (jQuery free) Make the back-to-top JS vanilla ES6 (jQuery free), resolves #119. Aug 29, 2024
@Menrath Menrath changed the title Make the back-to-top JS vanilla ES6 (jQuery free), resolves #119. Improvement: make the back-to-top JS vanilla ES6 (jQuery free), resolves #119. Aug 29, 2024
@abias abias force-pushed the main branch 3 times, most recently from 5696e9a to b9fa4ca Compare October 21, 2024 15:33
@abias
Copy link
Member

abias commented Nov 13, 2024

I just rebase the branch onto latest master / Moodle 4.5 to allow me to review it as soon as the tests are green again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants