Micosoft Edge Breaks scrollHeight example
Note - this seems to have fixed itself - the problem could have been an interaction between my page template css code
When updating my page on scrollHeight I noticed that it no longer worked when I viewed it on my new Windows 10 computer.
The example still worked on my iPad, which of course uses Safari as a default browser. It also still worked on the Chrome and Firefox browsers I had also installed on my iPad.
I downloaded Firefox to my new Windows 10 computer and the example works there. The MDN example also fails on the Edge browser.
Update MDN have fixed this issue. The code (and example) now works on the Edge browser on both the MDN website and on the examples on this site.
The "Chromium" based Edge Browser
Researching whether there were any changes made to Edge that may have caused this. My first thoughts were related to the onload event. I searched for "edge blocking onload", it revealed the Tracking Prevention in Microsoft Edge (Chromium) article linked below.
There are many other links to others seeing problems.
I note that Microsoft is using a Google technology for its Edge Browser. I had looked at the Chromium browser in the past and and I had forgotten about it.
When this doesn't work
I am currently confused to know why the scroll to allow proceed technique sometimes seems to work on Microsoft Edge.
I say that it seemed that the problem had fixed itself and I postulated on why it was happening in tbe first place. There could be some interaction between the Framework coding or there may well be a difference between how Microsoft Edge and other browsers handle this code.
Tracking prevention in Microsoft Edge