JavaScript
Article

Gumby2 Buttons not working on Touch Devices

By Sam Deering

Gumby2 works well with responsive design and touch support but the buttons are hard to press sometimes with your finger. Not good for web apps running on devices. This is how you fix it.

Change the padding on button anchors so that touch support is fully enabled (ie your finger is then pressing the anchor at 100% height and 100% width).

extra padding

See it in action

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.