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

When using script, Maximum call stack size exceeded appears #2111

Open
3 tasks
sakitam-fdd opened this issue Jun 20, 2024 · 0 comments
Open
3 tasks

When using script, Maximum call stack size exceeded appears #2111

sakitam-fdd opened this issue Jun 20, 2024 · 0 comments
Labels

Comments

@sakitam-fdd
Copy link
Contributor

sakitam-fdd commented Jun 20, 2024

Actual Result

image

Expected Result

Reproduce Steps

use mapbox-gl@3 and @luma.gl/[email protected]

https://codepen.io/sakitam-fdd/pen/KKLogPr

image

After investigation, it seems to be related to the multifill function of requestAnimationFrame, and the window.requestAnimationFrame in the dist.js file seems to point to the multifill function

image

This will not result in any errors when referencing pkg in conjunction with building tools such as vite using the ESM method

To Do List

  • Add label and assign to milestone
  • Coding
  • Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants