You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attaching a popover to a view inside a scrollView, the popover will remain at fixed position when scrolling. It seems to be impossible to let the popover follow the attached view.
On Sat, May 20, 2023 at 6:09 AM Patrick Horlebein ***@***.***> wrote:
When attaching a popover to a view inside a scrollView, the popover will
remain at fixed position when scrolling. It seems to be impossible to let
the popover follow the attached view.
Is this a bug or a missing feature?
ScrollView {
…
TextField(…)
.popover(
present: $focusedTextField,
attributes: {
$0.position = .absolute(
originAnchor: .top,
popoverAnchor: .bottom
)
$0.sourceFrame = { rectOfTextField }
$0.sourceFrameInset.top = -16
$0.rubberBandingMode = .none
$0.dismissal = .init(
mode: .none,
dragMovesPopoverOffScreen: false
)
}
) {
Templates.Container(…)
}
}
—
Reply to this email directly, view it on GitHub
<#85>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL4C6PYLWPHTY2A65GNGUXLXHC7BVANCNFSM6AAAAAAYIXM6CE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
When attaching a popover to a view inside a scrollView, the popover will remain at fixed position when scrolling. It seems to be impossible to let the popover follow the attached view.
Is this a bug or a missing feature?
The text was updated successfully, but these errors were encountered: