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 data is populating in an unusual way. #285

Open
sefacndmr01 opened this issue Feb 4, 2024 · 1 comment
Open

Bug - The data is populating in an unusual way. #285

sefacndmr01 opened this issue Feb 4, 2024 · 1 comment

Comments

@sefacndmr01
Copy link

Which version of the plugin are you using?
[X] Data Populator for Sketch
[✓] Data Populator for Adobe XD

Describe the bug
The data is populating in an unusual way. During iteration, it jumps between objects and reads the properties of the object it skipped. Even though Shuffle Items is not enabled, it exhibits this behavior. The order is not random, but it seems to read by skipping, which is unexpected.

To Reproduce
Steps to reproduce the behavior:

  1. Added data source
  2. Added placeholders the texts (they are in group named tokens)
  3. Clicked Populate

Expected behavior
My expectation is for it to iterate through the array sequentially and read the properties of objects accordingly.

Screenshots

Layers

image

Placeholders

image

Result

image

Environment (please complete the following information):

  • Adobe XD v57.1.12
  • Plugin v4.0.3
  • Windows 11 23H2 (OS Build 22631.3085)

Additional context
JSON File:
tokens.json

@sefacndmr01
Copy link
Author

Layer hierarchy cause this.
When the layer hierarchy is structured in this way, I got the expected result;

image

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

No branches or pull requests

1 participant