Digital ACT-191 ONEAPP-7013 story: removed redundant code which causes scrolling issue
This commit is contained in:
parent
f1b5fd18c9
commit
938364535b
@ -304,12 +304,6 @@ open class Carousel: View {
|
||||
nextButton.onClick = { _ in self.nextButtonClick() }
|
||||
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.
|
||||
carouselScrollBar.onMoveForward = { [weak self] scrubberId in
|
||||
guard let self else { return }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user