@eagami/ui 5.72.0 → 5.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/eagami-ui.mjs
CHANGED
|
@@ -5612,15 +5612,17 @@ function controlErrorStateFrom(control, config) {
|
|
|
5612
5612
|
});
|
|
5613
5613
|
if (host) afterNextRender(() => {
|
|
5614
5614
|
const element = host.nativeElement;
|
|
5615
|
-
const onFocusIn = () => {
|
|
5615
|
+
const onFocusIn = () => untracked(() => {
|
|
5616
5616
|
editing.set(true);
|
|
5617
5617
|
revealedBySubmit.set(false);
|
|
5618
|
-
};
|
|
5618
|
+
});
|
|
5619
5619
|
const onFocusOut = (event) => {
|
|
5620
5620
|
if (event.relatedTarget instanceof Node && element.contains(event.relatedTarget)) return;
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5621
|
+
untracked(() => {
|
|
5622
|
+
editing.set(false);
|
|
5623
|
+
revealedBySubmit.set(false);
|
|
5624
|
+
holdRevealForPress();
|
|
5625
|
+
});
|
|
5624
5626
|
};
|
|
5625
5627
|
editing.set(element.contains(document.activeElement));
|
|
5626
5628
|
element.addEventListener("focusin", onFocusIn);
|