Re: HideKeyboardFormAccessoryBar

2013-03-14 Thread Andrew Grieve
I think this falls into the same category as the KeyboardShrinksView setting I added recently. Both properties would be useful to toggle at runtime, and I we had a thread discussing the possibility of an API to toggle settings at runtime. Also note that a hidden accessory will probably require extr

Re: HideKeyboardFormAccessoryBar

2013-03-13 Thread Shazron
Hi Don, No, it's a startup setting only right now. I'll look at the scrollview stuff when I have the chance. Issue: https://issues.apache.org/jira/browse/CB-2384 On Wed, Mar 13, 2013 at 2:58 PM, Don Coleman wrote: > Shazron, > > Did you get this to work? > > I think the scrolling fix removed

Re: HideKeyboardFormAccessoryBar

2013-03-13 Thread Don Coleman
Shazron, Did you get this to work? I think the scrolling fix removed the blank space (of tool bar height) that was visible when scrolling to the bottom of the page. Are you adding an API to enable and disabled the accessory bar too? I created the plugin for an app where we remove the toolbar on

Re: HideKeyboardFormAccessoryBar

2013-03-10 Thread Shazron
Looking at Don's code, the main difference is the accessory view was removed from the superview, while I only hid it. Removing it from the superview fixes the problem that Andrew reported. The scrollview fix is something different - the fix alleges that with the accessory bar gone, the textfield b

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Shazron
Thanks Don, not sure I understand how the scrollview fix works, I'll take look Monday. Pull request welcome as well ... On Saturday, March 9, 2013, Don Coleman wrote: > Check out https://github.com/don/KeyboardToolbarRemover > > I think it has the code you need. > On Mar 9, 2013 9:22 PM, "Shazron

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Don Coleman
Check out https://github.com/don/KeyboardToolbarRemover I think it has the code you need. On Mar 9, 2013 9:22 PM, "Shazron" wrote: > Hmm the fix will be more gnarly than expected. I think the parent view for > the accessory bar has to be resized as well to shrink it, it is still > getting touche

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Shazron
Hmm the fix will be more gnarly than expected. I think the parent view for the accessory bar has to be resized as well to shrink it, it is still getting touches. I'll get to this Monday. On Sat, Mar 9, 2013 at 7:18 AM, Andrew Grieve wrote: > I remembered what the problem is with it. Where the a

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Filip Maj
I think Shaz committed this yesterday. You basically need HEAD of iOS to reproduce I think (I haven't tried). On 3/9/13 8:33 AM, "Lorin Beer" wrote: >Hey Andrew, > >I checked this out on an iOS 5, 6 and Android device and couldn't >replicate. The code I'm running is out of date however, what ver

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Lorin Beer
Hey Andrew, I checked this out on an iOS 5, 6 and Android device and couldn't replicate. The code I'm running is out of date however, what version of Cordova/Mobile Spec did this crop up in? On Sat, Mar 9, 2013 at 7:18 AM, Andrew Grieve wrote: > I remembered what the problem is with it. Where

HideKeyboardFormAccessoryBar

2013-03-09 Thread Andrew Grieve
I remembered what the problem is with it. Where the accessory used to be is dead to touches. Try in mobile spec on the audio page. Bring up the keyboard and then try to tap on a button where the accessory would have covered.