harvesthq/Sidetap

Page flickers when you click on header

Opened this issue · 1 comments

The page flickers when you click on the header in all browsers especially on desktop. For now I've commented out this in SidetapIos.prototype.set_up_observers, since I don't need the functionality:
$("header h1").click(function(evt) { return _this.show_address_bar(evt); });

This is probably because the "click" events are simulated on a phone. Those events should all probably fire on 'touchstart' and then run a preventDefault.