Digital ACT-191 ONEAPP-7013 story: removed redundant code which causes scrolling issue

This commit is contained in:
Vasavi Kanamarlapudi 2024-07-19 14:42:00 +05:30
parent f1b5fd18c9
commit 938364535b

View File

@ -304,12 +304,6 @@ open class Carousel: View {
nextButton.onClick = { _ in self.nextButtonClick() } nextButton.onClick = { _ in self.nextButtonClick() }
previousButton.onClick = { _ in self.previousButtonClick() } previousButton.onClick = { _ in self.previousButtonClick() }
/// Will be called when the scrubber position changes.
carouselScrollBar.onScrubberDrag = { [weak self] scrubberId in
guard let self else { return }
updateScrollPosition(position: scrubberId, callbackText:"onThumbPositionChange")
}
/// Will be called when the scrollbar thumb move forward. /// Will be called when the scrollbar thumb move forward.
carouselScrollBar.onMoveForward = { [weak self] scrubberId in carouselScrollBar.onMoveForward = { [weak self] scrubberId in
guard let self else { return } guard let self else { return }