Commit 80c3716c authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Set mobile text handles and actions popup Z positions to 999

This is a hack to keep them from appearing below popups that might use a TextField or TextArea.

There is no guarantee that they will appear above all popups and they could cause problems for some popups.

A patch with a better solution would be welcome.
parent 78366ec6
......@@ -25,6 +25,10 @@ Loader {
x: isSelectionEnd ? selectionEndX : selectionStartX
y: isSelectionEnd ? selectionEndY : selectionStartY
// HACK: make it appear above most popups that show up in the
// overlay in case any of them use TextField or TextArea
z: 999
//opacity: target.activeFocus ? 1 : 0
implicitHeight: {
let h = Kirigami.Units.gridUnit
......
......@@ -29,6 +29,10 @@ Loader {
x: xAlignHCenter
y: yAlignOver
// HACK: make it appear above most popups that show up in the
// overlay in case any of them use TextField or TextArea
z: 999
contentItem: RowLayout {
spacing: 0
ToolButton {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment