Skip to content

OverlaySheet: Add a focusedItem property

Ismael Asensio requested to merge work/fix_overlay_focus into master

This allows to set an item within the sheet which will recieve the focus when the sheet gets open.

If the property is not set, the focus will be given to the sheet's FocusScope (flickableContents) to ensure that that the capture of the Esc key works reliably.

BUG: 433991 FIXED-IN: 5.81

Test snippet: testOverlayFocus.qml

Edited by Ismael Asensio

Merge request reports