For example, go to https://dvc.org/doc/user-guide/managing-external-data in a new tab and then scroll down to the examples, and click the 馃敆 icon that appears when hovering the cursor over the Examples header. This fixes the scroll position to that anchor and adds #examples to the URL. Now, reload the page or even select eh address bar and press Enter. The scroll is reset to the top when the page reloads, however the URL remains as https://dvc.org/doc/user-guide/managing-external-data#examples
Only if you completely close the tab and restore it (open it again) will it scroll to the correct location.
I'm on Version 77.0.3865.90 (Official Build) (64-bit) for Mac.
Sorry for late comment. Again, missed everything that was created this week. Maybe we should replace header class with some uniq id? this class name also used in tooltips as far as I can see, so ('header')[0] can potentially lead to conflicts.
@algomaster99 please, address this concern when you have some time ^^
@iAdramelk Should we create a separate const.js file for keeping constants like this?
So will #712 be rolled back? Not the best strategy? Thanks
@jorgeorpinel no, I think it'll be improved a bit.
@algomaster99 yes, const.js is a good idea.
Opened a separate issue for moving constants - #714
I think there is still an improvement required to close this ticket. Ideally it should be done along with the #714 (first step to introduce one constant required for this ticket, do not wait for all of them to be moved).