mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(sticky): sticky headers. Fixes #383
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user