Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessory tappable area smaller than Apple's native callout #47

Closed
Multiforge opened this issue Aug 2, 2013 · 2 comments
Closed

Accessory tappable area smaller than Apple's native callout #47

Multiforge opened this issue Aug 2, 2013 · 2 comments

Comments

@Multiforge
Copy link

Hi Nick,

I really like your SMCalloutView class and I'd like to use it. One quick question though, is it possible to increase the tappable area of the left/right accessory views?

The tappable area seems to be smaller than the tappable area that Apple provides in their callout. Apple treats a tap within the accessory margin and/or view as a tap on the accessory, whereas the SMCalloutView only seems to process taps within the (somewhat small) accessory view itself.

Because of the small area of the SMCalloutView accessory view, in our testing the users wind up dismissing the callout when they mean to tap on the detail disclosure.

Other than that issue, SMCalloutView is fantastic and perfect for our needs.

Thanks for any help/info/suggestions,

Justin

@incanus
Copy link
Contributor

incanus commented Aug 2, 2013

This sounds pretty doable via gesture recognizers on the background view.

@nfarina
Copy link
Owner

nfarina commented Feb 14, 2014

Hi, sorry for the extremely slow response to this! And thanks for the kind words.

The upcoming release of SMCalloutView does have this behavior. It turns out if touches are properly sent to the callout when using MapKit, the system's disclosure indicator control seems to automatically extend its hit area to a comfortable bounds. Closing this now!

@nfarina nfarina closed this as completed Feb 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants