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

[Bug]: tsparticles links presetn nto working #4971

Closed
1 task done
windmillcode0 opened this issue May 6, 2023 · 4 comments
Closed
1 task done

[Bug]: tsparticles links presetn nto working #4971

windmillcode0 opened this issue May 6, 2023 · 4 comments
Assignees
Labels
bug Something isn't working no-issue-activity

Comments

@windmillcode0
Copy link

Contact Details

shieldmousetower734@gmail.com

What happened?

I follow the instructions according to the site
https://github.com/tsparticles/presets/tree/main/presets/links/#readme
but it does not work

tsParticles Version

2.9.3

tsParticles Configuration

(async () => {
  await loadLinksPreset(tsParticles); // this is required only if you are not using the bundle script

  await tsParticles.load("tsparticles", {
    preset: "links",
  });
})();

What browsers are you seeing the problem on?

Chrome

Relevant log output

N/A
but look at this repo
https://github.com/WindMillCode/tsparticles-issue

Code of Conduct

  • I agree to follow this project's Code of Conduct
@windmillcode0 windmillcode0 added bug Something isn't working triage labels May 6, 2023
@matteobruni
Copy link
Collaborator

It's an issue already solved in the upcoming 2.10 (PR #4912), a workaround is set a particles number because the default is 0 since 2.9.0.

For example:

(async () => {
  await loadLinksPreset(tsParticles); // this is required only if you are not using the bundle script

  await tsParticles.load("tsparticles", {
    preset: "links",
    particles: { number: { value: 100 } }
  });
})();

@windmillcode0
Copy link
Author

Ok also in v 1.26.e the particles resizes with the container now 2.9.3 it takes the whole screen instead of the target container how do I resolve this also the bundle size is crazy at 446 kb for the cpnt thats using is 2.9.3 using esm modules?

@matteobruni
Copy link
Collaborator

About the fullScreen: https://www.reddit.com/r/tsParticles/comments/w8luvb/why_my_particles_are_full_screen_i_want_them_to/

About the bundle size you can load only the plugins needed to reduce the size instead of using the tsparticles bundle package

@matteobruni
Copy link
Collaborator

Since this issue refers to the presets, it should be reopened in the presets repository if needed.

@matteobruni matteobruni closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants