Skip to content

Commit

Permalink
Make sure that scolling using bar works as expected on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Jun 24, 2024
1 parent c632535 commit 0f9ecee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/widget/scroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ func (b *scrollBar) Cursor() desktop.Cursor {

func (b *scrollBar) DragEnd() {
b.area.isDragged = false

if fyne.CurrentDevice().IsMobile() {
b.area.MouseOut()
}
}

func (b *scrollBar) Dragged(e *fyne.DragEvent) {
Expand Down

0 comments on commit 0f9ecee

Please sign in to comment.