mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-01 08:52:24 +00:00
acquire screen: aside css
This commit is contained in:
parent
692e7788fd
commit
0b273391ba
@ -100,6 +100,7 @@ export default class StickyContainer extends React.PureComponent<Props> {
|
|||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
window.addEventListener('scroll', this.handleScroll);
|
window.addEventListener('scroll', this.handleScroll);
|
||||||
window.addEventListener('resize', this.handleScroll);
|
window.addEventListener('resize', this.handleScroll);
|
||||||
|
raf(this.update);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
Loading…
Reference in New Issue
Block a user