Open Bug 1235446 Opened 8 years ago Updated 2 years ago

Use inputAccessoryView for find-in-page bar to improve the animation

Categories

(Firefox for iOS :: Browser, defect)

All
iOS
defect

Tracking

()

People

(Reporter: bnicholson, Unassigned)

References

Details

From bug 1164067:

(In reply to Robin Andersen [:tecgirl] from comment #17)
> 1) there's a slight delay in the keyboard catching up to the search bar when
> it animates up.

(In reply to Stephan Leroux [:sleroux] from comment #20)
> With regards to the offset animation of the toolbar and keyboard, there
> might be a trick we can do to have it match.
> 
> UITextFields have an inputAccessoryView property that allows you to add a
> custom toolbar on top of the keyboard when the text field is selected. I
> wonder if we can use the exact same toolbar we want to display on top of the
> keyboard as the inputAccessoryView for the text field. The illusion is that
> the toolbar animates up when the keyboard is shown but in reality the text
> field is just a trigger and the real input happens in a clone that is the
> accessory view. There some more documentation here about this:
> https://developer.apple.com/library/ios/documentation/StringsTextFonts/
> Conceptual/TextAndWebiPhoneOS/InputViews/InputViews.html
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.