FLUID-5643: Create a new scrollTo component

Metadata

Source
FLUID-5643
Type
New Feature
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Cindy Li
Created
2015-04-21T16:01:19.485-0400
Updated
2015-11-03T11:31:46.219-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. scrollTo

Description

The language panel in the first discovery tool has an implementation of div scrolling to make sure the element not only being scrolled into the view but also being scrolled to precise positions to make sure other elements, such as buttons, are not shown in partial. This implementation can be considered to base upon to create a scrollTo plugin.

The implementation is located @ https://github.com/cindyli/first-discovery/blob/FLOE-281/src/js/panels.js#L342-L408