• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webview loses focus after clicking on link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webview loses focus after clicking on link


  • Subject: Webview loses focus after clicking on link
  • From: Mark Meyer <email@hidden>
  • Date: Sat, 22 Jan 2005 00:47:50 -0800

Hello,

I've using a webView and have noticed that when I click on a link and it downloads the page it is no longer the first responder. If I want to scroll with the arrows or select all with the keyboard, I need to re-click in the view. I've looked all over to make sure I wasn't changing the firstresponder somewhere and I'm pretty sure I'm not.

In my delegate when webView:didStartProvisionalLoadForFrame: is called the webview is still the first responder but by the time webView:didFinishLoadForFrame: is called the main window is the first responder. I know I can send the webview a makeFirstResponder message after this method, but I don't always want that to be the case--such as when I'm sending html to it programatically. I would expect when I click on it to do something I wouldn't need to click on it again to get it's attention. Has anyone else noticed this--search didn't turn anything up which makes me think it might be something I've overlooked.

Thanks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Multiple Definitions of Symbol
  • Next by Date: Re: NSOutlineView Double Action
  • Previous by thread: Re: Multiple Definitions of Symbol
  • Next by thread: Send files over network
  • Index(es):
    • Date
    • Thread