parent
24b12584d0
commit
43f9864c13
|
@ -86,7 +86,7 @@ export class VirtualScrollList extends React.Component
|
||||||
onScroll={this.onScroll}>
|
onScroll={this.onScroll}>
|
||||||
{this.props.header}
|
{this.props.header}
|
||||||
{this.state.targetHeight > 0
|
{this.state.targetHeight > 0
|
||||||
? <div key="target" style={{position: 'absolute', left: '-5px', width: '1px', height: this.state.targetHeight+'px'}}></div>
|
? <div key="target" style={{position: 'absolute', top: 0, left: '-5px', width: '1px', height: this.state.targetHeight+'px'}}></div>
|
||||||
: null}
|
: null}
|
||||||
{this.state.topPlaceholderHeight
|
{this.state.topPlaceholderHeight
|
||||||
? <div style={{height: this.state.topPlaceholderHeight+'px'}} key="top"></div>
|
? <div style={{height: this.state.topPlaceholderHeight+'px'}} key="top"></div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "dynamic-virtual-scroll",
|
"name": "dynamic-virtual-scroll",
|
||||||
"version": "1.0.11",
|
"version": "1.0.12",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Vitaliy Filippov",
|
"name": "Vitaliy Filippov",
|
||||||
"email": "vitalif@yourcmc.ru",
|
"email": "vitalif@yourcmc.ru",
|
||||||
|
|
Loading…
Reference in New Issue