Otherwise the task under the mouse will change when it's resized, cause the use activate the neighbor one accidentally in some case. Please see the video: https://streamable.com/vdl3nm Proposal: resize (remove gap...) only when the cursor left the view.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/latte-dock/-/merge_requests/12
Git commit 765fd490c326470815c598c82294356793406bdd by Michail Vourlakos. Committed on 06/03/2021 at 16:33. Pushed by mvourlakos into branch 'master'. move Duplicate Dock in Add... menus M +7 -4 containmentactions/contextmenu/menu.cpp M +10 -6 declarativeimports/components/ComboBox.qml M +2 -0 declarativeimports/components/ComboBoxButton.qml M +22 -14 declarativeimports/components/ItemDelegate.qml M +28 -0 shell/package/contents/configuration/LatteDockConfiguration.qml https://invent.kde.org/plasma/latte-dock/commit/765fd490c326470815c598c82294356793406bdd
faulty bug reference can just be ignored