Skip to content

Latest commit

 

History

History
77 lines (48 loc) · 5.71 KB

RELEASE-NOTES.md

File metadata and controls

77 lines (48 loc) · 5.71 KB

Version 2.3.1 - Mar 18, 2018

  • Visibility - Fixed bug that could cause onScreen callback to not occur properly for elements that are taller than screen.

Version 2.2.14 - Jan 29, 2018

  • Visibility - Fixes issue where bottomPassed and topPassed would not fire under some conditions

Version 2.2.11 - July 11, 2017

  • Popup - Separated className setting for visible into visible and popupVisible, this way you can remove visible indication on activating element without modifying popup visibility.

Version 2.2.10 - March 28, 2017

  • Visibility - Visibility events now fire correctly when using context other than body that has overflow-x or overflow-y set to auto or scroll
  • Visibility - Fixed bug where using visibility with context setting on a scrollable context (with overflow) would cause callbacks to fire incorrectly
  • Visibility - Fixed bug where top passed and bottom passed would appear as incorrect values if using settings from get element calculations when element is off screen.

Dropdown

  • Visibility - Added documentation for onOnscreen and onOffScreen, two very important callbacks that occur when an element is or isn't in currently scrolled view.
  • Visibility - Images that use $('img').visibility({ type: 'image'}) will no longer animate a second time if re-initialized.

Version 2.2.0 - June 26, 2016

  • Visibility - Added onFixed and onUnfixed callbacks for visibility type: 'fixed'
  • Visibility - Added onLoad and onAllLoaded callback for type: 'image' visibility
  • Visibility - Added zIndex setting for specifying zindex with type: 'fixed' #3370
  • Image - transition hidden image now shows correctly as visibility: hidden; and not display: none. This will allow offset with visibility and sticky to work more seamlessly. hidden image will still remain display: none;
  • Sticky/Visibility - Added mutation observer to teardown element with destroy if removed from DOM context, fixing a possible memory leak
  • Rating - Fixed ui rating to not used outlined star in basic variation, instead using a lighter filled in star for increased visibility #3730
  • Visibility - Using type: fixed will now correctly remove all special classes and placeholder content on destroy #3548

Version 2.0.4 - July 17, 2015

  • Visibility - refreshOnResize now correctly includes a default value #2615

Version 2.0.2 - July 7, 2015

  • Dropdown - Dropdown icon will now always toggle menu visibility #2510

Version 2.0.0 - June 30, 2015

  • Visibility - Using .visibility({ type: 'fixed'}) will now automatically add a placeholder element which will swap places with an element when it is attached to the viewport. This should make fixed content drastically simpler.
  • Visibility - Visibility and sticky now use a more performant pub/sub pattern that will only attach a single event to context scroll.
  • Visibility - Added two new visibility callbacks onOnScreen and onOffScreen, which occur, most obviously when an element first appears in or out of a browser's viewport.
  • Transition - Transition will no longer force visible/hidden with inline styles if onComplete callback sets visibility.
  • Visibility/Sticky - Visibility and sticky now refresh automatically after page content loading to deal with changes in position from images loading
  • Visibility/Sticky - Visibility now uses pub/sub pattern to greatly improve scroll performance when attaching multiple events
  • Visibility - Visibility includes a new setting checkOnRefresh which determines whether visibility callbacks should occur on resize or refresh
  • Visibility - Visibility image will now wait to lazy load images that are above the current screen position, not just below.
  • Visibility - In returned calculations object, visible and hidden are renamed to onScreen and offScreen, since this describes more accurately what the value represents.

Version 1.12.0 - April 13, 2015

  • Visibility - Adds updated visibility module from 2.x channel. Visibility will automatically refresh by default after images load on page refresh. Fixes issues with element positions after image loading.
  • Visibility - Fixed issue where precache behavior was missing from visibility causing image lazy loading to fail

Version 1.11.0 - March 3, 2015

  • Visibility - Attach callbacks to elements visibility conditions like top visible bottom visible, passing. Useful for things like: image lazy loading, infinite scroll content, and recording tracking metrics.

See the examples online for a demonstration.

Version 1.1.0 - December 02, 2014

Version 1.0.0 - November 24, 2014

  • Transition - Transition will now keep block position of elements hidden with visibility hidden

Version 0.7.0 - Oct 22, 2013

  • Transition - onShow and onHide callbacks for visibility changing transitions

Version 0.1.0 - Sep 25, 2013