forked from ishaan1013/sandbox
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
In the Social Links field, the app auto-adds https:// when typing a domain, which works correctly initially. However, if the domain is deleted and the cursor is at the second slash of https://, pressing backspace inserts https: again. Holding backspace causes this insertion to repeat infinitely, producing strings like https://http: continuously.
To Reproduce:
- Navigate to the profile section.
- In the Social Links field, start typing a domain (e.g., example.com).
- Observe that https:// is auto-added to the left.
- Delete the domain name completely so the cursor is positioned after https://.
- Press backspace repeatedly.
- Observe that https: is repeatedly inserted, creating a loop.
Expected behavior:
Deleting the domain should allow the field to be fully cleared without auto-inserting https: repeatedly. The auto-prefix should only apply when typing a new domain, not during deletion.
OS: Windows 10
Browser: Chrome
Version: 141.0.7390.123 (Official Build) (64-bit)
2025-11-09.02-28-41.mp4
Metadata
Metadata
Assignees
Labels
No labels