ncase / covid-19

COVID-19 Futures, Explained With Playable Simulations
Creative Commons Zero v1.0 Universal
233 stars 106 forks source link

[BUG] Sandbox Mode cannot scroll to see controls in Safari #22

Open TJScalzo opened 4 years ago

TJScalzo commented 4 years ago

I cannot scroll through the controls within the Sandbox simulator. No scrollbar appears and clicking on an input first doesn't allow scrolling using the scroll wheel or anything. Screen Shot 2020-05-03 at 12 23 12 AM This means the start button can't be reached and so Sandbox Mode can't be used. This seems to only be an issue in Safari because a scrollbar is visible in Firefox and Chrome.

Looking at the simulator's HTML, as shown by Safari in its inspector, the div with class "simplebar-content-wrapper" has overflow: hidden; in its style attribute. Changing it to overflow: scroll; lets me scroll using the scroll wheel, even though a scrollbar doesn't appear. I don't know how SimpleBar works so I'm not sure I'm able to help fix this issue.