golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.55k stars 522 forks source link

tour: The TOC is not scrollable on Firefox #805

Open cbelhaoues opened 5 years ago

cbelhaoues commented 5 years ago

Context: https://tour.golang.org/welcome/1

The TOC is not scrollable in Firefox, it works fine in Chrome.

ALTree commented 5 years ago

Thanks for the report.

Reproduced with Firefox 68 on Linux. When the TOC is opened, a scrollbar appears, but the mouse wheel does not move it; OTOH if you grab the bar with the mouse and scroll it, it works.

mozew commented 4 years ago

this style will solve the problem (can use extensions like "stylus" until it's fixed): .toc > ul { position: relative; z-index: 1; }