Skip to content

[Question] Popup scroll speed is too fast in Firefox #322

Description

@BilderLoong

Issue encountered

The scroll speed is too fast in Firefox.

What I expected

Normal scroll speed.


I discovered that this was done intentionally. Could you provide some insight about this?

ODH/src/fg/js/frame.js

Lines 114 to 118 in 8959e8d

function onMouseWheel(e) {
document.querySelector('html').scrollTop -= e.wheelDeltaY / 3;
document.querySelector('body').scrollTop -= e.wheelDeltaY / 3;
e.preventDefault();
}

And thanks for this amazing plugin. It has been immensely helpful during my language-learning journey.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions