Components: Avoid unguarded getRangeAt (Autocomplete) #15606
Labels
Browser Issues
Issues or PRs that are related to browser specific problems
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Previously: #11457, #15576, #11209
Safari will throw errors when attempting to call
Selection#getRangeAt
when there are no ranges in the selection. This has resulted in block errors on multiple occasions in the past (#11209, #15576).Tasks:
Selection#getRangeAt
to be guarded.The text was updated successfully, but these errors were encountered: