Files
Haven/public
ancsemi 96c825bdb1 fix: avatar upload - replace label-for-input with button to prevent double-trigger
The <label for='avatar-file-input'> elements created a native label-input
association. In many browsers, e.preventDefault() on label click does NOT
reliably prevent the native for-attribute behavior, causing both the native
activation AND the JS fileInput.click() to fire simultaneously  which
opens the file dialog twice and immediately cancels it.

Fix: Changed <label> to <button type='button'> and removed the for
attribute entirely. The JS click handler is now the sole mechanism for
opening the file dialog, eliminating the conflict.
2026-02-13 22:37:42 -05:00
..
2026-02-11 00:15:56 -05:00