S
S
sdgroup142019-05-24 18:44:58
Angular
sdgroup14, 2019-05-24 18:44:58

Why doesn't viewportScroller.getScrollPosition() work?

After I do

location.replaceState() -  viewportScroller.getScrollPosition()

is reset to [0 0]and does not give the real value.
Any ideas why that is?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question