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

Source Map Errors When Using Tooltip Element #1178

Open
ectu opened this issue Dec 8, 2024 · 0 comments
Open

Source Map Errors When Using Tooltip Element #1178

ectu opened this issue Dec 8, 2024 · 0 comments

Comments

@ectu
Copy link

ectu commented Dec 8, 2024

Description

When using the "Tooltip" element in Breakdance, the browser console logs the following errors:

[Error] Source Map Load Error (x2)  
[Error] Failed to load resource: the server responded with a status of 404 () (popper.min.js.map, line 0)  
[Error] Failed to load resource: the server responded with a status of 404 () (tippy.umd.min.js.map, line 0)  

This issue occurs even on a clean installation of WordPress with no customizations or additional plugins installed.

Steps to Reproduce

  1. Set up a clean WordPress installation with Breakdance installed and activated.
  2. Create a new page using the Breakdance editor.
  3. Add the "Tooltip" element to the page > Ad a Pulse Dot inside
  4. Save the page and preview it in the browser.
  5. Open the browser console and observe the errors mentioned above.

Expected Behavior

The "Tooltip" element should work without any console errors, and source map files should load correctly if they are required.

Actual Behavior

The console displays source map errors, indicating that the files popper.min.js.map and tippy.umd.min.js.map cannot be found on the server, leading to 404 errors.

Additional Information

  • The issue is reproducible on a clean WordPress installation.
  • The missing files are related to the Tooltip's dependencies (popper.js and tippy.js).
  • The errors do not appear to break functionality but cause unnecessary console clutter.
  • Environment

WordPress Version: 6.7.1
Breakdance Version: 2.2
PHP Version: 8.3
Browser: Safari, Chrome, Firefox (MacOS)

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

No branches or pull requests

1 participant