fix(sticky): sticky headers. Fixes #383

This commit is contained in:
Max Lynch
2015-10-30 09:48:54 -05:00
parent bdb9a19d0b
commit 9b9c820b2a
7 changed files with 536 additions and 120 deletions

View File

@ -21,7 +21,7 @@ export class FeatureDetect {
let featureDetects = {};
FeatureDetect.add('positionsticky', function(window, document) {
FeatureDetect.add('sticky', function(window, document) {
// css position sticky
let ele = document.createElement('div');
ele.style.cssText = 'position:-webkit-sticky;position:sticky';