discourse/plugins
David Taylor 55980a2a84
DEV: Add workaround for chrome crash (#30157)
Some users are seeing consistent "Error 5" crashes in chrome when saving/deleting bookmarks on chat messages.

When crash logging is enabled, the message is:

`[33466:259:1206/122312.195048:ERROR:ax_object.cc(3400)] Check failed: !NeedsToUpdateCachedValues(). Stale values: "Group" axid#7543 <svg#discourse-emojis> needsToUpdateCachedValues/disallowed isIgnored inUserAgentShadowRoot:<use> isInert needsToUpdateChildren hasDirtyDescendants`

This seems to be influenced by a few factors, including the re-render of the bookmarks button, the adjacent 'reactions' button, and also the opening/closing of the modal.

Adding this `activeElement.blur` seems to avoid the issue in my manual testing. Hopefully, this can be dropped after future chrome releases.

Internal topic: t/143485
2024-12-06 16:05:09 +00:00
..
automation DEV: Correctly lint bundled plugins admin directory (#29999) 2024-12-02 16:31:21 +00:00
chat DEV: Add workaround for chrome crash (#30157) 2024-12-06 16:05:09 +00:00
checklist DEV: Consolidate i18n import paths (#29804) 2024-11-19 20:45:18 +00:00
discourse-details DEV: Use qunit-dom's hasValue wherever possible (#30018) 2024-12-01 20:37:24 +01:00
discourse-lazy-videos Update translations (#28577) 2024-08-29 15:37:52 -04:00
discourse-local-dates DEV: refactor composer-editor/d-editor, a little more (#29973) 2024-12-02 18:24:14 -03:00
discourse-narrative-bot Update translations (#30062) 2024-12-04 11:59:28 +01:00
discourse-presence DEV: Deleted the "ChatComposerPresenceManager"... (#30098) 2024-12-04 12:21:55 +01:00
footnote Update translations (#30062) 2024-12-04 11:59:28 +01:00
poll Update translations (#30062) 2024-12-04 11:59:28 +01:00
spoiler-alert DEV: Use qunit-dom's hasValue wherever possible (#30018) 2024-12-01 20:37:24 +01:00
styleguide FIX: Tooltip styleguide triggers not rendering options (#29926) 2024-11-25 16:00:52 -06:00