Components: Error when URLInput updates its suggestions #8034
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Type] Bug
An existing feature does not function as intended
Milestone
Related: #7566, #7979 (comment)
Describe the bug
When changing the URL of a button block and unselected the block, the block throws an unhandled error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error occurs.
Screenshots
Additional context
I have a feeling this is related to the recent
api-fetch
refactor (#7566), changing from ajqXHR
type (withabort
function) to aPromise
(fromfetch
) which has no cancellation.Further, I think it's an issue that we're not ever unsetting
this.suggestionsRequest
when a request completes. There's no need to abort the request except when currently in-progress.The text was updated successfully, but these errors were encountered: