fix: keyboard overlay hidden behind bottom bars due to z-order

Opus initChildren uses pairs() which has non-deterministic ordering.
The keyboard overlay occupies the same screen space as alertBar,
footerBar, and bottomBar. If those bars end up later in the children
array, they render on top and hide the keyboard.

Added raise() after enabling the keyboard to move it to the end
of the children array, ensuring it renders on top.
This commit is contained in:
MayaTheShy
2026-03-22 20:04:51 -04:00
parent e67fded321
commit 02248ccc38

View File

@@ -290,6 +290,7 @@ local function buildMainPage()
local page = self.parent
if showKeyboard then
UI.Window.enable(page.keyboard)
page.keyboard:raise()
page.keyboard:draw()
else
page.keyboard:disable()