Skip to content

feat: consider scrollTop when showing click action#192

Open
jasonslyvia wants to merge 1 commit intomarmelab:masterfrom
jasonslyvia:master
Open

feat: consider scrollTop when showing click action#192
jasonslyvia wants to merge 1 commit intomarmelab:masterfrom
jasonslyvia:master

Conversation

@jasonslyvia
Copy link
Copy Markdown

What: feature, maybe bug

Why: when use clicker with scroller, clicker's default showAction draw red circles without considering window.scrollY, which may bring confusion.

How: add document.documentElement.scrollTop (window.scrollY's compatible version)

Checklist:

  • Documentation added to the README.md file
  • Tests, not applicble
  • Typescript definitions updated
  • RFR, Ready for review label

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.

1 participant