Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.
Jeff Wainwright edited this page Nov 27, 2017 · 2 revisions

Stickybits Quirks

When trying to make Stickybits work for an application, there are ways that browsers and/or Stickybits have random quirks. These quirks may not affect the expected functionality of Stickybits. However, it can cause surprise. This page documents quirks.

Custom CSS Classes

Stickbits 2.0 provides the options to add custom CSS classes. Custom CSS classes can beneficial to add specific functionality to Stickybits items for a particular application. If Stickybits is used with custom CSS classes that are empty strings like this '', Stickybits will respond with the default.

For reference

stickybits('selector', {
  parentClass: ''
})

Clone this wiki locally