Re: WKWebView and tooltips
Re: WKWebView and tooltips
- Subject: Re: WKWebView and tooltips
- From: Rick Mann <email@hidden>
- Date: Thu, 20 Oct 2016 18:28:44 -0700
This seems to be new behavior in iOS 10. The exact same code on iOS 9 does not exhibit this behavior.
Mobile Safari does not exhibit this behavior in either iOS.
In all cases, clicking turns the control blue (our hover state), although in iOS 9 when the action completes, the control turns back to white.
> On Oct 20, 2016, at 17:52 , Rick Mann <email@hidden> wrote:
>
> We have a complex WebGL app that has some controls defined via HTML elements. We use this code both on the web, and in an iOS app inside a WKWebView. We recently added tooltips (as a title attribute on an <a> element), and now the first tap brings up the tooltip. Subsequent taps actuate the control. Tapping the tooltip hides it.
>
> But this only happens in my WKWebView version of the app. Loading the same app via Safari on iOS doesn't exhibit this behavior.
>
> I've tried googling for an answer, but so far nothing.
>
> Any ideas? Thanks.
>
> --
> Rick Mann
> email@hidden
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden