Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Tags: LeDDGroup/scroll-utility

Tags

v4.0.2

Toggle v4.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix: fix sroll change detection

v4.0.1

Toggle v4.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix: improve detection of external scroll

'floor' raw scrollPosition when checking for scroll change (codepen returning floating values)

v4.0.0

Toggle v4.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
refactor: improve api

* chore: fix promise issue using cypress

* refactor: improve public api

BREAKING CHANGE: api changed

* feat: improve public api

merge scroll functions into scrollTo

* test: add browserstack tests

replace cypress with browserstack for better browser support

Squashed commit of the following:

commit 9f91793ff5a2a46d7b217c5cc0b4e195f99d803e
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Mon Apr 29 00:08:58 2019 -0400

    test: improve tests

commit 4dae7a7
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Sun Apr 28 22:59:28 2019 -0400

    test: change to TDD

    change 'describe' for 'suit'

commit db8bfab
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Sun Apr 28 20:44:33 2019 -0400

    test: improve tests

commit 5f6ca6b
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Sun Apr 28 18:40:11 2019 -0400

    test: remove cypress

commit f0af97d
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Sun Apr 28 18:36:34 2019 -0400

    test: add basic scroll test

commit 34fef3c
Author: David Perez Alvarez <david@leddgroup.com>
Date:   Sun Apr 28 17:45:34 2019 -0400

    test: basic browserstack test config

* chore: remove yarn.lock

* chore: new api

* feat: add getElementPlacement

* fix: proper handling of scroll to element "percent"

* chore: use scrollSize as avaliable scroll instead of scrollSize

* fix: scrolling in document element

* perf: replace ScrollElement class with functions

* refactor: remove unnecessary getters

* refactor: change detection of external scroll

* perf: not removing all scroll animations

* fix: scrollSize getter

* fix: make tests use new api

* refactor: move "element" function logic to 'ScrollElement'

* fix: remove browserstack scripts returning cyclic structures

* test: improve centerElement test

* refactor: improve api

* docs(wip): update readme

* refactor: rename elementRelativePosition => relativeElementPosition

* docs: update readme

* test: update test for elementPosition

* test: use min capabilities test

* fix: getDistToCenterElement not working

* fix: update properly animation position after user scroll

* fix: test capabilities

* test: reduce precision

* refactor: fix codeclimate issues

* docs: add browserstack logo

v3.0.2

Toggle v3.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix(readme): fix 'element' examples

v3.0.1

Toggle v3.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix(readme): incorrect external onScroll example

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
v3 greater refactor (#43)

BREAKING CHANGE: api changed
* chore: change exported api

* refactor: change animationManager

* chore: remove demo

* docs: update readme

* docs: update readme

* feat: add `misc`

* refactor: remove tests

* feat(misc): add `scrollTo` function
similar to `scrollBy`

* feat(misc): add `isElementInRange`
returns `true` if element is visible from its container #14

* docs(readme): fix typo

"design" -> "designed"

* fix: missing module in package.json
ts-node

* test: add cypress
Squashed commit of the following:
    test: add screenshots for readme
    test: refactor tests
    test: add basic cypress tests

* refactor: change position to scrollPosition

* docs: update README

* chore: remove browserstack

v2.0.3

Toggle v2.0.3's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
docs: fix README

v2.0.2

Toggle v2.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix: allow `document.querySelector` to instantiate ScrollManager

change `HTMLElement` to `Element`
`HTMLElement` extends `Element`

v2.0.1

Toggle v2.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
davidpa9708 David Perez Alvarez
fix: remove react-markdown from dependencies

v2.0.0

Toggle v2.0.0's commit message
docs: add badge for npm downloads