Hacker News new | ask | show | jobs
by controlledchaos 2153 days ago
Toggling the options seems to add records to the browser history, which means it takes a bunch of taps on the back button in safari to get out of the app. Otherwise, really cool!
1 comments

I wish I had a MAC to test, anyway thank you.
It's due to the day/night buttons being anchor tags as opposed to any Safari-specific issue.

If you wanted to keep the the ability to link to specific states, but avoid the history issue, you'll need to use the History API — https://developer.mozilla.org/en-US/docs/Web/API/History/rep...

Happens on Chrome on Windows too, so it's not likely a Safari-specific issue