Skip to content

Added optional chaining to fix search bug on chrome.#620

Open
Randy808 wants to merge 1 commit into
Blockstream:masterfrom
Randy808:fix-search-error
Open

Added optional chaining to fix search bug on chrome.#620
Randy808 wants to merge 1 commit into
Blockstream:masterfrom
Randy808:fix-search-error

Conversation

@Randy808
Copy link
Copy Markdown
Collaborator

Since SVGs trigger load events in Chrome, the SVG added in #617 is now being processed by the Instascan observable. The observable assumes that every element emitting a load event has a src property, but SVG elements do not, which causes a UI error.

This behavior appears to be browser-dependent, so the issue is not reproducible in Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant