Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageSpeed Insights #3175

Closed
a0677703787 opened this issue Aug 27, 2023 · 4 comments
Closed

PageSpeed Insights #3175

a0677703787 opened this issue Aug 27, 2023 · 4 comments

Comments

@a0677703787
Copy link

When a lighthouse from Google (https://pagespeed.web.dev) checks a site on joomla 4 with installed Gantry5, a warning is issued about an outdated API

Deprecated APIs will eventually be removed from the browser.

DOM Mutation Events, including DOMSubtreeModified, DOMNodeInserted, DOMNodeRemoved, DOMNodeRemovedFromDocument, DOMNodeInsertedIntoDocument, and DOMCharacterDataModified are deprecated (https://w3c.github.io/uievents/#legacy-event-types) and will be removed. Please use MutationObserver instead.

This API is located in /media/gantry5/assets/js/main.js

Is it possible for the developers of gantry 5 to fix this warning?

image

@N8Solutions
Copy link

You didn't mention the CMS you are using, but in reviewing this, it appears to be a duplicate of #3174 which involves the Grav CMS.

@a0677703787
Copy link
Author

Why didn't I mention CMS?
"a site on joomla 4 with installed Gantry5" - quote from my first post

@N8Solutions
Copy link

Why didn't I mention CMS? "a site on joomla 4 with installed Gantry5" - quote from my first post

My apologies, you're correct. I didn't get much sleep last night so I obviously just ended up glazing over that.

It still stands though, the issue you are facing seems to be the same as in the other ticket. It must have something to do with the Libraries that Gantry 5 is using which is cross platform compatible and independent of the CMS and Themes.

@hexplor Can you take a look at this?

@a0677703787
Copy link
Author

if the developers are aware of this problem, then I will close my ticket.
I will look forward to when the problems are fixed and I can update all my sites with the new version of gentry.
Thank you!

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

No branches or pull requests

2 participants