I can reproduce this in Firefox 52.0.2 and Chromium 57.0.2987.98.
To reproduce:
- Open the demo page.
- Find the "DropdownWidget (using overlay)" demo.
- Select one of the options in the widget.
- Click the widget again.
- At this point, it will jump to the top of the page.
This seems to have been caused by rGOJUc40a55f1ecb5: MenuSelectWidget: Ensure currently selected element is visible when menu opens which added a scrollElementIntoView() call into MenuSelectWidget in a place that gets called before FloatingMenuSelectWidget positions the dropdown on screen, The comment here seems apropos.
I don't know if it's the best solution, but I find that sticking that scrollElementIntoView inside a 0-delay setTimeout() fixes it.