nicky-lenaers / ngx-scroll-to Goto Github PK
View Code? Open in Web Editor NEWScroll to any element to enhance scroll-based features in you app. Works for Angular 4+, both AoT and SSR. No dependencies.
License: MIT License
Scroll to any element to enhance scroll-based features in you app. Works for Angular 4+, both AoT and SSR. No dependencies.
License: MIT License
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Scroll doesn't scroll if the div is hidden under IF Block only on v0.5.0 but works fine on v0.4.0
It should scroll even if the block is hidden under *ngIf
Just try scrolling to Block hidden under *ngIf on v0.5.0
It used everywhere
Angular version: 5.0.2
Your version of `@nicky-lenaers/ngx-scroll-to`: 0.5.0
Browser:
- [ x] Chrome (desktop) version XX
- [ x] Chrome (Android) version XX
- [x ] Chrome (iOS) version XX
- [ x] Firefox version XX
- [x ] Safari (desktop) version XX
- [ x] Safari (iOS) version XX
- [x ] IE version XX
- [x ] Edge version XX
For Tooling issues:
- Node version: Latest
- Platform: Mac
To continue the discussion at issue #10:
here is a snippet describing what I want to achieve with some comment to help clarify:
// this is called when a dialog is opened using the ngAfterViewInit- there's no clear event here to use.
let dialogElement = $(".dialog-content-for-scroll"); // this is the element I want to scroll, I can provide ElementRef if the ScrollTo API would accept it.
dialogElement.delay(700)
.animate({
scrollTop: this.state.scrollPosition // I don't want to scroll to another element but rather to a position offset in "dialogElement"
},
"slow");
dialogElement.on("scroll", () => {
this.state.scrollPosition = dialogElement.scrollTop(); // this is used to get the current position when this dialog scrolls so that next time I open it, it will open in the same scroll position.
this.sharedStorageService.set(OsmUserDialogComponent.OSM_USER_DIALOG_STATE_KEY, this.state);
});
Here's my current implementation without JQuery:
class SomeComponenet {
...
@ViewChild("dialogContentForScroll") dialogContent: ElementRef;
...
public ngOnInit() {
...
let dialogElement = this.dialogContent.nativeElement as HTMLElement;
// the following is the code I want to replace with a service:
setTimeout(() => dialogElement.scrollTop = this.state.scrollPosition, 700);
// end, below code is fine as is.
dialogElement.onscroll = () => {
this.state.scrollPosition = dialogElement.scrollTop;
this.sharedStorageService.set(OsmUserDialogComponent.OSM_USER_DIALOG_STATE_KEY, this.state);
}
...
Target destination is in different component
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ x] Feature request
[ ] Documentation issue or request
When finding the first scrollable parent, hidden overflow are considered scrollable. They should not be.
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
JUST IN SAFARI, always scrolls to top of the page or doesn't work at all. (didn't test in iOS)
Should work the same as in Chrome
Angular version: 5.2.3.
Your version of `@nicky-lenaers/ngx-scroll-to`: 3
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ x ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: v8.9.4
- Platform: MacOS
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
No custom easing logic input
Custom easing logic
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Scroll doesn't scroll if the div is hidden under IF Block only on v0.5.0 but works fine on v0.4.0
It should scroll even if the block is hidden under
Angular version: X.Y.Z
Your version of `@nicky-lenaers/ngx-scroll-to`:
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
This is mainly an issue to test the generation of the CHANGELOG.md file
Scroll-to not working for nested elements (any element of which its first scrolllable parent is not the body)
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Hi there,
First, thanks for the plugin.
I am having a click issue (as far as i know, i am doing all as written :))...
On click i get "Error: No scrollable parent found for element BUTTON".
Template
<ion-row >
<button *ngFor="let item of data" class="chapter_title" [ngx-scroll-to]="item.title">{{item.title}}</button>
</ion-row>
<ion-row *ngFor="let item of data" id="{{item.title}}">
<ion-card class="cube_white" >
<ion-card-header>
<h3>{{item.title}}</h3>
</ion-card-header>
<ion-card-content>
<div id="{{item.title}}">{{item.content}}</div>
</ion-card-content>
</ion-card>
</ion-row>
The event
public triggerScrollTo($event: Event, itemIndex) {
console.log(itemIndex);
const config: ScrollToConfig = {
target: itemIndex
}
this._scrollToService.scrollTo($event, config);
}
The error output
Runtime Error
No scrollable parent found for element BUTTON
Stack
Error: No scrollable parent found for element BUTTON
at ScrollToService._getFirstScrollableParent (http://localhost:8100/build/vendor.js:57058:15)
at ScrollToService._start (http://localhost:8100/build/vendor.js:56988:30)
at ScrollToService.scrollTo (http://localhost:8100/build/vendor.js:56971:21)
at http://localhost:8100/build/vendor.js:118910:60
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9967)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4499:37)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9888)
at r.runTask (http://localhost:8100/build/polyfills.js:3:5143)
at invoke (http://localhost:8100/build/polyfills.js:3:10945)
at n (http://localhost:8100/build/polyfills.js:2:28549)
Ionic Framework: 3.6.0
Ionic App Scripts: 2.1.4
Angular Core: 4.1.3
Angular Compiler CLI: 4.1.3
Node: 6.10.0
OS Platform: Windows 7
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Browser:
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
No way to execute a callback after scrolling has completed
define a config parameter for a completion callback
I want to execute additional animations after the scrolling.
Angular version: X.Y.Z
Your version of `@nicky-lenaers/ngx-scroll-to`:
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Is there a feature to Scroll to the Top of the Page?
How ngx-scroll-to can be used with css selector, not with id?
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Feature request
[ ] Documentation issue or request
I have an Angular project that uses ngrx as a redux store. Everything works fine.
I've successfully installed ngrx-scroll-to and it works like a charm.
Here is the thing though. Once you have pressed a button that contains the ngrx-scroll-to directive, I get errors when I dispatch ngrx actions. Any actions dispatched before the button was pressed works fine.
This is the error that is output to the console:
RedeemFundsComponent.html:272 ERROR TypeError: toISOString is not a function
at String.toJSON ()
at Object. (vendor.bundle.js?=2.1.0-beta.1:1)
at derez (:1:65467)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:65906)
And this is the error that I catch when I pause on exception:
TypeError: Converting circular structure to JSON.
ngx-scroll-to should not interfere with ngx actions.
I am not really looking for a fix here, I am rather just looking for some guidance on how to debug this issue and to get the 2 libraries working together.
Angular version: 4.4.6
Your version of `@nicky-lenaers/ngx-scroll-to`:0.6.0
Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
Hi,
Current package shows an npm warning when installed with angular 5.0.
Can the dependency be updated?
npm WARN @nicky-lenaers/[email protected] requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
I would like to have a new option, called "ngx-scroll-to-visibility-based", or something like this.
By default it should be false. If it's set to true, scroll should happen only if not the entire target is visible already.
The condition to do the actual scroll is supposed to be something like this:
targetBottomPos < currentScrollTopPos || targetTopPos > currentScrollBottomPos || targetBottomPos > currentScrollBottomPos
Imagine an accordion-style hierarchical menu. The user clicks on a parent menu: this event closes up the previously opened submenu items and opens (slides down for example) the current parent menu's submenu items. At this point it can easily happen that the opened items get out of the view. In this case we want to scroll to the freshly opened menu items. On the other hand if the entire freshly opened submenu items are visible without scroll, we don't want the site to do any scroll.
Please see this comment: angular/angular-cli#8284 (comment)
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Here my code
<p><a [routerLink]="['/red']" [ngx-scroll-to]="'red'">Red</a> |
<a routerLink="/green" [ngx-scroll-to]="'green'">Green</a> |
<a routerLink="/blue" [ngx-scroll-to]="'blue'">Blue</a></p>
<div class="content">
<blue-router></blue-router>
<red-router></red-router>
<green-router></green-router>
</div>
Is possible ngx-scroll-to can scroll when i enter "http://localhost:4200/blue"?
Is possible ngx-scroll-to can working back history?
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
Currently [ngx-scroll-to-offset]
only supports numbers. This could be a potential problem for, let's say, a mobile layout with a fixed header. For desktop, the offset could be different than for the mobile layout. Ideally, as a user of this library, I would like to be able to pass a function to [ngx-scroll-to-offset]
which gets called and returns a value for the offset
<button [ngx-scroll-to-offset]="calcHeightOffset">Click</button>
The function could be something like:
@Input() calcHeightOffset = () => {
if(mobile){
return 80;
}
return 100;
}
See 'current behaviour'
basically, I have it working but the element is always at the top of the screen, I need a way to centralize that, so ngx-scroll-to works only in the Y axis?
REAMDE.md
Getting this strange error and unable to make it work.
followed the basic steps in the doc.
VM8855 core.js:1655 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'ngx-scroll-to' since it isn't a known property of 'button'. (" {{user.lastName}}
<button type="button" [ERROR ->][ngx-scroll-to]="'userdetails'" class="btn btn-info btn-sm" aria-label="Left Align" (click)="showUser"): ng:///ArgModule/UsermanagementComponent.html@30:40
Error: Template parse errors:
Can't bind to 'ngx-scroll-to' since it isn't a known property of 'button'. (" {{user.lastName}}
Provide an option to enable/disable interrups during scrolling.
Proposed directive:
[ngx-scroll-to-interruptable]
Type
boolean
Default
false
Accepts
Any boolean
value
remove accepts
table column (this is already clear in type
column)
Hi!
When I am using offset
option and the scrolling happens from the bottom to the top, it seems that the offset is acting as a negative value.
To clarify (using offset 200 for example):
I am not sure, is it happening only for me, but if it doesn't, would you please add offsetTop
option to scroll configurations as well?
Breaks code, see Plunker
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
Offset is incorrectly calculated inside a container.
Correct calculation.
See examples from discussion in issue #28
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Our SSR app is built using this guide: https://github.com/angular/angular-cli/wiki/stories-universal-rendering and works well. However if you npm install --save this module you get:
import xyz
^^^^^^
SyntaxError: Unexpected token import
when you run in on the server with "node server.js"
It works very well if we just build it in our app, Thanks!
It runs on the server.
Build a SSR app using the above guide. I could start over an make one if you want?
Works on the server.
Angular version: 4.2.4
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX v6.11.2
- Platform: Mac
Others:
I couldn't find it in the documentations - I would like to achieve the following:
I have a component that is a pop-up, and I want to scroll to the same location the user left it when it was closed.
So I need two functionalities
Integration of Karma testing
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
None
Some kind of option to prevent scrolling if the element is already visible within the parent container
I have an element that any given time when the scroll function is triggered I don't currently know if it's visible or not. It doesn't make sense from a usability standpoint to have scrolling when it's already visible to the user. At least having the option to abort scrolling if visible would prevent animations from executing that provide no real help for the user.
Angular version: 4.2.4
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x ] Bug report>
[ ] Feature request
[ ] Documentation issue or request
There isn't much to say. The module works flawlessly in Chrome and Firefox but in Edge and IE (11) doesn't react on click at all.
Working on all browsers.
Angular version: 4.4.6
Your version of `@nicky-lenaers/ngx-scroll-to`: v0.6.0
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ x ] IE version 11.371.16299.0
- [ x ] Edge version 41.16299.371.0
- [ x ] EdgeHTML version 16.16299
Probably also lesser versions of IE.
For Tooling issues:
- Node version: v8.9.1
- Platform: Windows 10
A npm install issue for ngx-scroll-to
When using npm install @nicky-lenaers/ngx-scroll-to@"<1" it replies with the following:
"The system cannot find the file specified."
For npm install @nicky-lenaers/ngx-scroll-to to work for angular versions before 6
Angular version:
angular/cli: 1.7.1
angular-devkit/build-optimizer: 0.3.2
angular-devkit/core: 0.3.2
angular-devkit/schematics: 0.3.2
ngtools/json-schema: 1.2.0
ngtools/webpack: 1.10.1
schematics/angular: 0.3.2
schematics/package-update: 0.3.2
typescript: 2.5.3
For Tooling issues:
Other:
This is the first issue I am reporting so forgive me for any mistakes. I did check if the issue is already published but could not find anything. To me it seems as though older versions do not exist.
[x ] Documentation issue or request
When I set .scrollTo() , the scrolling animation can be interrupted by the user.
I tried setting event.preventDefault() and also setting the css property pointer-events: none
It should prevent any scrolling actions untill the animation completes
Angular version: 5.0.3
Your version of `@nicky-lenaers/ngx-scroll-to`: 0.6.0
Browser:
- [x ] Chrome (desktop) version 65
Hi,
So in one div I have my anchors which I click for scrolling and in another one are the targets to scroll to.
This usecase is not working. Here's a plunkr for you to see:
https://plnkr.co/edit/y345JeEKeOz4pv9maZaV?p=preview
Am I setting something wrong, or is it not possble?
Thanks
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Angular version: 4
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
Doesn't scroll with click of button.
To scroll too targeted id.
Angular version: X.Y.Z
Angular CLI: 1.6.8
Node: 8.6.0
OS: win32 x64
Angular: 5.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.6.8
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.8
@schematics/angular: 0.1.17
typescript: 2.4.2
webpack: 3.10.0
Your version of `@nicky-lenaers/ngx-scroll-to`:
release 0.5.3
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [x] IE version 11
- [x] Edge version 41
For Tooling issues:
- Node version: v8.6.0
- Platform: Windows
Others:
I'm using ng2-scroll-to
which seems to be working fine with angular 4 but has a warning for old dependencies of angular 2, which is annoying, also the name is not great.
I wanted to switch to this library but I'm missing a feature:
scrollableElementSelector
- which defines which element should be scrolled (the container, as apposed to which element to scroll to).
Am I missing something?
const config: ScrollToConfigOptions = {
container: '#some-wrapper',
target: '#someIdNotOnPage
};
this.scrollToService.scrollTo(config).
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x ] Feature request
[] Documentation issue or request
When trying to call the service to scroll to an element that does not exists, and there's no way to suppress the error being created in the console. It
Ability to capture and handle the error "Unable to find Target Element". A developer could handle this error how they want. do nothing or throw the issue.
I am aware that the error will occur and it is normal behavior, I want to simply suppress the issue as in my case it is not.
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Scrolling does not work when inside an Angular Material Sidenav.
For it to work.
Here is a stackblitz of it not working in Angualar Material Sidenav. if I take it out of the sidenav component then the scrolling will work.
https://stackblitz.com/edit/angular-37wifk
I would like to use this product with Angular Materials
Your version of @nicky-lenaers/ngx-scroll-to
:
Using latest version
Browser:
I have this links in navbar:
<li>
<a [ngx-scroll-to]="'video-block'" class="active">Home</a>
</li>
<li>
<a [ngx-scroll-to]="'about'">About</a>
</li>
and when I'm scrolling manually I want class active to be fired in nav on corresponding items down in html
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report
[ ] Feature request
[ ] Documentation issue or request
the animation never stops (tested with easeOutElastic). Side effects are for example arrow keys are not working for scrolling and also a interval is running which might slow down the webapp
the animation to stop ( the loop code to stop running)
I just installed it via npm and used the service
Here is a debugger where the animation is done but the intervall is still running
Because the this._position is a float it never is exactly equal to this._to + this._options.offset the interval is not cleared. The stop code is never stopping to run even though scroll has reached its point.
DOES not happen if I use easeInQuad for example
this.scrollToService.scrollTo({
target: '#order-search-result-row-with-table',
duration: 650,
easing: 'easeOutElastic',
offset: 0
})
arrow keys are not working for scrolling and also a interval is running which might slow down the webapp
Angular version: 5.2.1
Your version of `@nicky-lenaers/ngx-scroll-to`:
0.5.0
Browser:
- [x ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version:
- Platform: windows
Others:
nothing
[ ] Regression (a behavior that used to work and stopped working in a new release)
[] Bug report
[X] Feature request
[ ] Documentation issue or request
Scroll is not working when the scrollable element has "overflow: overlay". From a quick peek on the code, I noticed that only "overflow:auto" and "overflow:scroll" are being checked.
const overflowRegex: RegExp = /(auto|scroll)/;
in scroll-to.service.ts
Scroll should work to a scrollable element that has "overflow:overlay".
This is a follow-up on #20 . As soon as this is implemented, the scrollTo
function will be available to be called without an event
, since the event
is now needed to search for the first scrollable parent.
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
The document listeners doesn't use the passive event to improve the performance.
Info: https://developers.google.com/web/tools/lighthouse/audits/passive-event-listeners
Use the passive events.
To improve the performance using the library.
Angular version: 5.2.10
Your version of `@nicky-lenaers/ngx-scroll-to`: 0.6.0
Browser:
- [x] Chrome (desktop) version XX
- [x] Chrome (Android) version XX
- [x] Chrome (iOS) version XX
- [x] Firefox version XX
- [x] Safari (desktop) version XX
- [x] Safari (iOS) version XX
- [x] IE version XX
- [x] Edge version XX
For Tooling issues:
- Node version: v9.11.1
- Platform: MAC OS X
Hi,
I want to use your library in my project but I saw that I need to provide an event parameter if I want to use the scroll service. Is there a way to bypass this?
Also I wonder if this library will work with my complex view.
Root
- Header
- Content
- Carousel
- Carousel
- EPG <-- 24h programs
- Program
- Program <-- currently playing
...
I need to scroll to the currently playing program when the Content
is loaded. How can I use ngx-scroll-to
to achieve this?
Add ability to scroll to element that's originally hidden by ngIf. Should be done by animating after the Angular lifecycle hook
ng update rxjs
Package "@nicky-lenaers/ngx-scroll-to" has an incompatible peer dependency to "rxjs" (requires "^5.4.2", would install "6.1.0").
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.