Apostrophe 3.26.1: hotfix for reliable editing in Chrome #3856
boutell
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello folks,
We've released a hotfix for an ApostropheCMS 3.x problem that Chrome users have reported with increasing frequency in recent days. This problem didn't happen to everyone, or on every page refresh. But we suspect a recent update to Chrome made it more common. It was also more frequent on slow connections.
Here's the bug: some users were unable to click buttons in the admin bar, such as "Images" or "Files." When doing so, the browser console would show a message indicating that
#apos-modalwas not found.This issue has been fixed in apostrophe 3.26.1.
To upgrade your Apostrophe 3.x project and fix this issue, just type
npm updateornpm update apostrophe.If you have locked your dependencies to a specific version of Apostrophe 3.x (if your
package.jsonentry forapostrophedoes not start with^), then you will need to manually increase it and typenpm install.Thanks to the community members who reported the issue, then worked with us to test the fix.
For the technically minded: Apostrophe's code for starting up the editor assumed the entire DOM would be loaded if the initialization code was deferred until "next tick" with a
setTimeoutcall. This is usually, but not always true. The new code waits for theDOMContentLoadedevent.Beta Was this translation helpful? Give feedback.
All reactions