[pve-devel] applied: [PATCH manager 1/1] ui: ComboBoxSetStoreNode: don't hide the picker when clicking the toolbar

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 31 18:02:53 CET 2023


Am 27/01/2023 um 11:14 schrieb Dominik Csapak:
> When clicking the toolbar of the ComboGrid, the combobox loses focus,
> and instantly hides the picker.
> 
> To prevent that, we keep track of the mousedown event on the toolbar
> (which happily comes before the focusLeave event), and prevent the
> focusLeave propagation in that case.
> 
> Then on mouseup, we focus the combobox again, so that the nexct
> focusLeave can trigger again.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/form/ComboBoxSetStoreNode.js | 30 +++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list