JavaScript
Article
By Sam Deering

Gumby2 Buttons not working on Touch Devices

By Sam Deering
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

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

--ADVERTISEMENT--

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?