We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d29b6e commit 6ec5151Copy full SHA for 6ec5151
context.go
@@ -96,7 +96,11 @@ func (c *Context) update(f func(ctx *Context) error) (inputCapturingState InputC
96
// Check whether the cursor is on any of the root containers.
97
pt := c.pointingPosition()
98
for _, cnt := range c.rootContainers {
99
- if pt.In(cnt.layout.Bounds) {
+ bounds := cnt.layout.Bounds
100
+ if cnt.collapsed {
101
+ bounds.Max.Y = cnt.layout.BodyBounds.Min.Y
102
+ }
103
+ if pt.In(bounds) {
104
inputCapturingState |= InputCapturingStateHover
105
}
106
0 commit comments