When it isn’t working

I was working with hammer js today to add a “swipe to delete” option for my weather project. The swipe to delete was pretty easy, but no matter what I tried, I couldn’t then disable the swipe action based on user preferences. I’m pretty sure it was user error / lack of understanding on my part, so eventually, I decided, “I can’t figure out how to disable swiping, so instead I’ll disable all of the actions that run after swiping.” It’s not 100% the same, but it works, and I can come back to the original problem later. I’ve really had a problem with “it’s not working so I’m going to sit here until it does,” and I’m glad this time I found a better and faster way to deal with the problem.

Reply