1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

Fix mobile touch edit card click after saving card (#28484)

This commit is contained in:
Aidan Timson
2025-12-11 09:17:52 +00:00
committed by GitHub
parent a7a937e197
commit bba400443e

View File

@@ -60,6 +60,9 @@ export class HuiCardEditMode extends LitElement {
});
this.addEventListener("touchstart", () => {
this._touchStarted = true;
// Set hover on touchstart for touch devices
this._hover = true;
document.addEventListener("click", this._documentClicked);
});
this.addEventListener("touchend", () => {
setTimeout(() => {