Clancey / FlyoutNavigation

Other
95 stars 87 forks source link

The keyboard remains visible when the menu is opened. #5

Closed HeathHopkins closed 12 years ago

HeathHopkins commented 12 years ago

It's just a style preference, but I figured I'd offer it back. Thanks for creating this.

I put the subview traversal in the main thread. Should only line 261 (subview.ResignFirstResponder();) be in EnsureInvokedOnMainThread?

Clancey commented 12 years ago

Awesome, Thanks for the pull request. Since you are calling the resign method inside an ensure invoke block, there is no need to wrap it again. Also I think I will change the resign call a little to be more efficient. There could be a lot of views and there is no need to traverse them all.