mobify/pinny — pull request #62 by Helen-Mobify (2014-12-12 00:30:18+00:00)
Title: #48 - Form inputs are scrolled to incorrect position on iOS7 and under

(brief description / PR title)

Status: **Opened for visibility**

Reviewers: @scalvert @kpeatt
https://github.com/mobify/pinny/issues/48

## Changes
- We scrolls to the active element using Velocity after the bounce fix is performed
- If the active element have attribute positionParent in data, Velocity will scroll to this element instead

## Notes
- positionParent is introduced because if the active element's parent have the css declaration 'position: relative', then the active element will return the incorrect value for Velocity to scroll to.