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

Unknown Property: "l" and "x" #61

Open
shane-aepx opened this issue Jan 29, 2025 · 2 comments
Open

Unknown Property: "l" and "x" #61

shane-aepx opened this issue Jan 29, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@shane-aepx
Copy link

shane-aepx commented Jan 29, 2025

JSON Editor is not recognizing the "x" key on any properties (therefore not opening the very important Javascript-friendly widget for creating expressions) and is not recognizing the "l" (length) key for the position and anchor point properties.

This is an issue for every Lottie JSON I've tried, about 50 of them. Appears to stem from changes yesterday 28/1/2025

@kudanai
Copy link
Contributor

kudanai commented Jan 30, 2025

Thank you for reporting. We're upgrading the validator to a more robust system and somehow missed this. We'll sort this out.

Could you drop in some samples as well?

@kudanai kudanai added the bug Something isn't working label Jan 30, 2025
@shane-aepx
Copy link
Author

example.json

I've attached an example of one of the many JSONs that are having this issue. Pasting this into the JSON Editor will give a look into what I'm referring to: Twirl down the first text layer and check the transform properties - "l" and "x" are not recognized under the "p" position property and the "a" anchor point property, and the same behavior can be seen under the "s" scale property, but for the "x" key only.

To get around this, I've been creating expressions under the "d" key, which are recognized by the editor and allow the option to open the Javascript widget, which is not possible under the transform properties with this bug.

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

3 participants