0.2.3-fix-scroll-container-11 • Published 5 years ago
react-stickyfill-fork v0.2.3-fix-scroll-container-11
react-stickyfill
React wrapper for Stickyfill library
Installation
npm install react-stickyfill --save
Usage
Simple usage:
import React, {Component} from 'react';
import Sticker from 'react-stickyfill';
class SomeComponent extend Component{
render() {
return (
<div>{/* Parent Element. */}
<Sticker>
<div>{/* Sticky Element */}</div>
</Sticker>
</div>
);
}
}
Parent Element should have height greater than Sticky Element. Sticky Element should have style position: sticky
and top: {some value}
.
0.2.3-fix-scroll-container-11
5 years ago
0.2.3-fix-scroll-container-10
5 years ago
0.2.3-fix-scroll-container-9
5 years ago
0.2.3-fix-scroll-container-6
5 years ago
0.2.3-fix-scroll-container-5
5 years ago
0.2.3-fix-scroll-container-4
5 years ago
0.2.3-fix-scroll-container-3
5 years ago
0.2.3-fix-scroll-container-2
5 years ago
0.2.3-fix
5 years ago