dotkom / Nibble2

App for buying food and drinks at the office
MIT License
5 stars 4 forks source link

Items are added to cards unintentionally #49

Open plusk opened 7 years ago

plusk commented 7 years ago

Preliminary TL;DR: cards are mysteriously "sensitive" to touch when scrolling, leading to unintentional adds to cart.

This happens when you're scrolling somewhat slowly, looking for that god damn thing you wanted, but couldn't find because there was no image (despite the alphabetical ordering), and you end up adding a bunch of stuff and then purchasing it because you're a dummy and now you have to figure out just how much you just lost and what wares trikom is gonna think are empty because you bought like six of them when you just wanted a pack of gum, and now you you're gonna have to scan the card again and work against the disgusting cash I/O

sklirg commented 7 years ago

warez

This might be related to #48? If it hovers over something and you tapping the screen again to keep scrolling, you might trigger a click. Not sure.

plusk commented 7 years ago

I can see it being a problem with Materialize, sure. I don't think we had this issue on original Nibble though, which I think mostly used the same thing UI. At the same time, I don't think the switch to React could change the sensitivity to touch.

duvholt commented 7 years ago

It's likely that Ubuntu and Windows uses different thresholds for what is considered a touch click, so this might be the problem?