1
0
-1

The Auto Suggestion Controller component in Composer detects when the target field receives focus, and immediately auto-scrolls to place the field at the top of the viewport.  We have a client who would like to have this feature switched off, but have not found a component property that controls this behaviour.  we have also tried to use the form auto scroll setting but this has no impact on the component.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      This is possible to do using a business rule.

      Are you sure the client wants to do this as turning this off will make the component unusable on many mobile devices as the keypad will hide the list ?

      1. David Barker

        The business rule would look like this.

        var node =  ...

        sfcInternal.av_html_setSmartScrollPolicy(node,'smart');


        where 'node' is the trigger field for the auto suggest widget.

      CommentAdd your comment...