Commit 8d610f1
fix: defer _charLimitInit flag until after DOM parent check
Moving el._charLimitInit = true to after the parentElement guard
prevents elements called before DOM insertion from being permanently
marked as initialized. Now callers can safely retry initCharLimit()
after inserting the element into the DOM.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3412cb6 commit 8d610f1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments