I’m trying to implement a simple touch event in Webflow for mobile where if a square is touched, it turns blue. Once you remove your finger it turns back to red. It works perfectly on Codepen, but once i move it over to webflow it breaks.
Webflows touchend event doesn’t work as intended and the square stays blue until some other part of the page is touched. Any ideas from the webflow communtiy?
The working codepen here: https://codepen.io/outofoffice/pen/MWJKjzj
And here’s the webflow page: Webflow - OUTOFOFFICE