From bd3a23b03dc1879052acc728653df6379e7df51d Mon Sep 17 00:00:00 2001 From: Ho Ngoc Hai Date: Thu, 26 Mar 2026 10:17:16 +0700 Subject: [PATCH] fix(pos): add Lucide icon re-init observer for Blazor WASM compatibility Lucide JS replaces elements with , breaking Blazor WASM's DOM diffing algorithm (removeChild null error). Added MutationObserver that safely re-initializes Lucide icons after Blazor renders, and dismiss handler for error banner. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../WebClientTpos.Client/wwwroot/index.html | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html b/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html index 7d1b8a01..4cf5546a 100644 --- a/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html +++ b/apps/web-client-tpos-net/src/WebClientTpos.Client/wwwroot/index.html @@ -126,6 +126,37 @@ + + + +