scroll-js icon indicating copy to clipboard operation
scroll-js copied to clipboard

Light cross-browser scroller that uses native javascript

Results 21 scroll-js issues
Sort by recently updated
recently updated
newest added

@markcellus, thanks for creating such a versatile package to handle more complex and programmatic scrolling needs. Would you consider adding a `scrollBy` method that accounts for the current scroll offset...

`scrollIntoView(element, {top: -60});` Usually, Some scenarios have a sticky dom, and we wanna offset a distance.

Vertical scroll is nice but what about horizontal scroll?

enhancement

It would be great to have a method to call to forcibly cancel a scroll that has already been initiated using `scroll-js`. This way, if a user starts manually scrolling...

Hi, when I try to import your module ```js import { scrollTo, scrollIntoView } from 'scroll-js'; ``` I get the following error: > Cannot find module `core-js/modules/es.object.to-string.js` imported from `./node_modules/scroll-js/dist/scroll.common.js`...

have scrollTo take into account the 'left' option

Support `block` and `inline` as per spec's [`ScrollIntoViewOptions`](https://drafts.csswg.org/cssom-view/#dictdef-scrollintoviewoptions) ```js scrollIntoView(element, {block: "end", inline: "nearest"}); ```

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.0 to 5.36.1. Release notes Sourced from @​typescript-eslint/eslint-plugin's releases. v5.36.1 5.36.1 (2022-08-30) Bug Fixes typescript-estree: fix decorator regression for pre TS4.8 (#5574) (a603015) v5.36.0 5.36.0 (2022-08-30) This...

dependencies

Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.32.1 to 0.33.0. Commits 3fc8caf test(cache): ignore coverage for corrupted cache check (#401) 697e839 clean: remove redundant generateRound === 0 check (#400) 4e5ab74 test: 100% coverage for...

dependencies

Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.23.0. Release notes Sourced from eslint's releases. v8.23.0 Features 3e5839e feat: Enable eslint.config.js lookup from CLI (#16235) (Nicholas C. Zakas) 30b1a2d feat: add allowEmptyCase option...

dependencies