Closed
Description
Describe the bug:
An empty (or just not with enough content to scroll) will prevent the scrolling of an external scroller even though there is nothing to scroll within it.
To Reproduce:
Steps to reproduce the behavior:
- Make the window large enough that it can be scrolled.
- Move the mouse to be over the label.
- Scroll and notice that it works as expected.
- Move the mouse to be over the entry.
- Scroll and notice that it does not scroll.
Screenshots:
Example code:
package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/widget"
)
func main() {
a := app.New()
w := a.NewWindow("Entry scroll")
w.SetContent(container.NewScroll(
container.NewVBox(
widget.NewEntry(),
widget.NewLabel("Scroll on me!"),
),
),
)
w.ShowAndRun()
}
Device (please complete the following information):
- OS: Linux
- Version: 5.10.12
- Go version: 1.15.7
- Fyne version: 2.0.0
Activity