@dvtopiya wrote:
I am using scrollToPoint as below to scroll to a specific point in my component.
@ViewChild(IonContent) content: IonContent; this.content.scrollToPoint(0, yOffset - 70, 1000);
But it is giving an error like
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'scrollTop' of null TypeError: Cannot read property 'scrollTop' of null
Can anyone please suggest me anything on this?
Posts: 1
Participants: 1