andreamazz/SlideOutNavigation

The menu icon should have a bigger hit area, and be touchable in the corner

hakanw opened this issue · 6 comments

Hello,

I'm using this framework and have noticed a lot of users miss the icon because they try to touch it in the upper left corner. So they touch a few times and finally manage to target it on the third try. This feels like a usability fail.

This is actually a well-known user interface / usability phenomenon also known as Fitts' Law; that people tend to navigate on screens and user interfaces relative to corners and edges of the screen. This is for example why you can open the apple menu by clicking in the upper left corner of your screen. Also, the back button in all iOS applications is reachable by clicking in the corner.

Sorry if that motivation is a bit too long. :)

I've been looking into how to extend the hit rect while keeping the menu icon intact. Maybe by changing the padding of the containerview for this icon somehow? Any ideas?

Thanks for a great framework!

Hi @hakanw, thanks for your feedback
Checkout commit 2417abc and let me know if that's better.
Cheers

This is awesome, thank you @andreamazz ! I still need to test it. Currently using this project through CocoaPods so need to make a custom Podfile first. I'll try it this coming week. Thanks again!

Hi @hakanw, there's no need for a custom podspec, you just need to add the :head synbol to your podfile, like this:

pod 'AMSlideOutController', :head

This will fetch the source directly from the latest commit.

Aah, that's a good pro tip. :)

2014-02-02 Andrea Mazzini notifications@github.com:

Hi @hakanw https://github.com/hakanw, there's no need for a custom
podspec, you just need to add the :head synbol to your podfile, like this:

pod 'AMSlideOutController', :head

This will fetch the source directly from the latest commit.

Reply to this email directly or view it on GitHubhttps://github.com//issues/62#issuecomment-33899928
.

It works perfectly! Thank you @andreamazz

Happy to help.
Cheers