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:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user