Confirmed users
85
edits
m (→Customization: Fixed a typo) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Features == | == Features == | ||
* The form assistant is doing a distinction between devices and try to adapt its behavior based on the type of device and on the screen size. | * The form assistant is doing a distinction between devices and try to adapt its behavior based on the type of device and on the screen size. | ||
* The different categories are: Android Phones, Android Tablets | * The different categories are: Android Phones, Android Tablets | ||
{| border="1" cellpadding="1" | {| border="1" cellpadding="1" | ||
| | |Scroll to focused element || All | ||
|- | |- | ||
|Zoom | |Zoom in to focused element || Android Phones, optionally Android tablets | ||
|- | |- | ||
|Auto- | |Auto-complete popup || All | ||
|- | |- | ||
|Select UI || All | |Select UI || All | ||
|- | |- | ||
|Caret | |Caret repositionning || All | ||
|} | |} | ||
== Customization == | |||
The behaviour of the form assistant can be customized using the preferences '''formhelper.mode''' and '''formhelper.autozoom'''. | |||
* The '''formhelper.mode''' preference controls whether the functionality of scrolling and zooming to the focused element, including reposition the caret if appropriate, is enabled. (Note that the selection UI and auto-complete cannot currently be disabled.) The possible values are: | |||
** 0 - Always disable this functionality | |||
** 1 - Always enable this functionality | |||
** 2 - Enable both scrolling and zooming on phones; enable only scrolling on tablets. This is the default. | |||
* The '''formhelper.autozoom''' preference can be used to turn off zooming on phones as well by seting it to false (the default value is true). | |||
* Note that the older '''formhelper.autozoom.caret''' and '''formhelper.restore''' preferences have been removed. See [https://bugzilla.mozilla.org/show_bug.cgi?id=834613 bug 834613] for details. | |||
== Pain points == | == Pain points == |