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] The CSSVar stop works when some variable name is enough big #116

Open
LeandroMoura3 opened this issue Feb 9, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@LeandroMoura3
Copy link

Describe the bug
When a css variable is too long, a exception of CSSVar Complete is throw: Populating Variable Values: RangeError: Maximum call stack size exceeded.

To Reproduce
Add this css variable in any .css file that was watched by CSSVar:

:root { --rp-color--button-secondary-background-disabled: var( --rp-color--neutral-100 ); --rp-color--neutral-100: #ffffff; }

Expected behavior
The exception don't happens and the CSSVar Complete still run.

Details (please complete the following information):
CSS Var Complete
v2.6.4

Version: 1.86.1 (user setup)
Commit: 31c37ee8f63491495ac49e43b8544550fbae4533
Date: 2024-02-07T09:08:20.941Z
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045

@LeandroMoura3 LeandroMoura3 added the bug Something isn't working label Feb 9, 2024
@phoenisx
Copy link
Contributor

phoenisx commented Mar 5, 2024

Thanks for raising this issue.
I am currently busy with other tasks, but am open to PR contributions. 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants