Minimal example code for StackOverflow question:
Why is having scroll-behavior: smooth
both in the html element and its descendant broken in Chromium based browsers?
The scroll bug described in the question appears in Chromium based browsers independent of the platform.