File tree 4 files changed +4
-2
lines changed
4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 373
373
this . columnCount = rows [ 0 ] && rows [ 0 ] . props . children . length || 0 ;
374
374
375
375
if ( rows . length ) {
376
- if ( this . stickyColumnCount > 0 ) {
376
+ if ( this . stickyColumnCount > 0 && this . stickyHeaderCount > 0 ) {
377
377
stickyCorner = this . getStickyCorner ( rows ) ;
378
378
}
379
379
if ( this . stickyColumnCount > 0 ) {
Original file line number Diff line number Diff line change 19
19
top : 0 ;
20
20
z-index : 3 ;
21
21
border-right : 2px solid # e5e5e5 ;
22
+ border-bottom : 2px solid # e5e5e5 ;
22
23
}
23
24
.sticky-table .sticky-header {
24
25
position : absolute;
Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ class StickyTable extends Component {
329
329
this . columnCount = ( rows [ 0 ] && rows [ 0 ] . props . children . length ) || 0 ;
330
330
331
331
if ( rows . length ) {
332
- if ( this . stickyColumnCount > 0 ) {
332
+ if ( this . stickyColumnCount > 0 && this . stickyHeaderCount > 0 ) {
333
333
stickyCorner = this . getStickyCorner ( rows ) ;
334
334
}
335
335
if ( this . stickyColumnCount > 0 ) {
Original file line number Diff line number Diff line change 10
10
top : 0 ;
11
11
z-index : 3 ;
12
12
border-right : 2px solid # e5e5e5 ;
13
+ border-bottom : 2px solid # e5e5e5 ;
13
14
}
14
15
.sticky-table .sticky-header {
15
16
position : absolute;
You can’t perform that action at this time.
0 commit comments