Skip to content

Commit

Permalink
More popover fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Mar 20, 2024
1 parent 1f94c2b commit a83c509
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ViewWriter(
it.currentTheme = currentTheme
it.lastTheme = lastTheme
it.isRoot = isRoot
it.transitionNextView = transitionNextView
it.transitionNextView = TransitionNextView.No
it.includePaddingAtStackEmpty = includePaddingAtStackEmpty
it.changedThemes = changedThemes
}
Expand All @@ -48,7 +48,7 @@ class ViewWriter(
it.currentTheme = currentTheme
it.lastTheme = lastTheme
it.isRoot = isRoot
it.transitionNextView = transitionNextView
it.transitionNextView = TransitionNextView.No
it.includePaddingAtStackEmpty = includePaddingAtStackEmpty
it.changedThemes = changedThemes
}
Expand All @@ -62,7 +62,7 @@ class ViewWriter(
it.currentTheme = currentTheme
it.lastTheme = lastTheme
it.isRoot = isRoot
it.transitionNextView = transitionNextView
it.transitionNextView = TransitionNextView.No
it.includePaddingAtStackEmpty = includePaddingAtStackEmpty
it.changedThemes = changedThemes
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ actual fun ViewWriter.hasPopover(
makeElement()
stayOpen = true
with(newViews) {
currentTheme = rootTheme
lastTheme = rootTheme
dismissBackground {
native.style.position = "absolute"
native.style.left = "0"
Expand Down

0 comments on commit a83c509

Please sign in to comment.