Hey, thank you very much for this great framework!
I am having a small issue. When a dynamic notch is shown on my MacBook's screen, it appears for 4 seconds and then disappears when I don't interact with it. However, when I move the mouse into the notch, it stays there for as long as the mouse is in there. This is the behaviour I want (although I think it should be documented a little better).
When I do exactly the same but with my external monitor without a notch (or use the .floating style), the panel always disappears after 4 seconds, even when the mouse cursor is within the panel.
let dynamicNotch = DynamicNotch(hoverBehavior: .keepVisible) {
MyView()
}
...
Task.init{
await self.dynamicNotch.expand()
try await Task.sleep(for: .seconds(4))
await self.dynamicNotch.hide()
}
Hey, thank you very much for this great framework!
I am having a small issue. When a dynamic notch is shown on my MacBook's screen, it appears for 4 seconds and then disappears when I don't interact with it. However, when I move the mouse into the notch, it stays there for as long as the mouse is in there. This is the behaviour I want (although I think it should be documented a little better).
When I do exactly the same but with my external monitor without a notch (or use the .floating style), the panel always disappears after 4 seconds, even when the mouse cursor is within the panel.