mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1178: #3004 Fix Ui Slider Show Scroll Arrow
#3004 Fix Ui Slider Show Scroll Arrow
This commit is contained in:
committed by
Lorenz Hilpert
parent
b0af718cbc
commit
9813575584
@@ -38,7 +38,7 @@ export class UiSliderComponent implements AfterViewInit, OnDestroy {
|
||||
|
||||
get isEndVisible() {
|
||||
const { scrollLeft, clientWidth, scrollWidth } = this.slideWrapperNativeElement;
|
||||
return scrollLeft + clientWidth === scrollWidth;
|
||||
return scrollLeft + clientWidth === scrollWidth && scrollLeft !== 0;
|
||||
}
|
||||
|
||||
@HostBinding('class.show-slide-arrows')
|
||||
|
||||
Reference in New Issue
Block a user