File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed
projects/igniteui-angular/src/lib
core/styles/components/grid Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 957957 width : 100% ;
958958 background : --var ($theme , ' header-background' );
959959 z-index : 10001 ;
960- overflow : hidden ;
961960 }
962961
963962 %grid-thead-thumb {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class VirtualHelperComponent extends VirtualHelperBaseDirective implement
4040 document . body . appendChild ( div ) ;
4141 const scrollWidth = div . offsetWidth - div . clientWidth ;
4242 document . body . removeChild ( div ) ;
43- return scrollWidth ? scrollWidth + 1 : 0 ;
43+ return scrollWidth ? scrollWidth + 1 : 1 ;
4444 }
4545
4646}
Original file line number Diff line number Diff line change 222222 [style.width.px] ="scrollWidth "> </ div >
223223</ div >
224224
225- < div class ="igx-grid__scroll " #scr [hidden] ="isHorizontalScrollHidden ">
225+ < div class ="igx-grid__scroll " [style.height.px] =" scrollWidth " #scr [hidden] ="isHorizontalScrollHidden ">
226226 < div class ="igx-grid__scroll-start " [style.width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth ' [style.min-width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth '> </ div >
227227 < div class ="igx-grid__scroll-main " [style.width.px] ='unpinnedWidth '>
228228 < ng-template igxGridFor [igxGridForOf] ='[] ' #scrollContainer >
Original file line number Diff line number Diff line change 181181 [style.width.px] ="scrollWidth "> </ div >
182182</ div >
183183
184- < div class ="igx-grid__scroll " #scr [hidden] ="isHorizontalScrollHidden ">
184+ < div class ="igx-grid__scroll " [style.height.px] =" scrollWidth " #scr [hidden] ="isHorizontalScrollHidden ">
185185 < div class ="igx-grid__scroll-start " [style.width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth ' [style.min-width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth '> </ div >
186186 < div class ="igx-grid__scroll-main " [style.width.px] ='unpinnedWidth '>
187187 < ng-template igxGridFor [igxGridForOf] ='[] ' #scrollContainer >
Original file line number Diff line number Diff line change 155155 [style.width.px] ="scrollWidth "> </ div >
156156</ div >
157157
158- < div class ="igx-grid__scroll " #scr [hidden] ="isHorizontalScrollHidden ">
158+ < div class ="igx-grid__scroll " [style.height.px] =" scrollWidth " #scr [hidden] ="isHorizontalScrollHidden ">
159159 < div class ="igx-grid__scroll-start " [style.width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth ' [style.min-width.px] ='isPinningToStart ? pinnedWidth : headerFeaturesWidth '> </ div >
160160 < div class ="igx-grid__scroll-main " [style.width.px] ='unpinnedWidth '>
161161 < ng-template igxGridFor [igxGridForOf] ='[] ' #scrollContainer >
You can’t perform that action at this time.
0 commit comments