Project

General

Profile

Actions

Improvements #14729

open
RM

Improvements #14728: Reduce communication due to focus handling

Handle focus change when a popup is deleted on the javascript side

Improvements #14729: Handle focus change when a popup is deleted on the javascript side

Added by Romain Mardulyn 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/11/2026
Due date:
% Done:

0%

Estimated time:

Description

Currently, when the focus is lost due to a popup being hidden, the focus is changed to the last element that was focused and that was not inside of the closed popup. Since this change is done on the server side, it requires to always know what was the last focused widget, as long as a popup is open, in order to know what was the last element focused and switch the focus back to it.

We should try to delegate that behavior, or at least the memorization of the focused elements, to JavaScript. This would make that behavior impactful in terms of network usage.

No data to display

Actions

Also available in: PDF Atom