Re:Show HN: WebGL simulation of rainy autumn day/evening
by controlledchaos on Wednesday July 29, 2020 @09:11AM
(#23986227)
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!
[ Parent
| on HN ]
Re:Show HN: WebGL simulation of rainy autumn day/evening
by maxraz on Wednesday July 29, 2020 @09:14AM
(#23986254)
I wish I had a MAC to test, anyway thank you.
Re:Show HN: WebGL simulation of rainy autumn day/evening
by IvoDankolov on Wednesday July 29, 2020 @09:25AM
(#23986358)
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...
Re:Show HN: WebGL simulation of rainy autumn day/evening
by eminence32 on Wednesday July 29, 2020 @09:17AM
(#23986286)
Happens on Chrome on Windows too, so it's not likely a Safari-specific issue