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

getAllElements doesn't return in the good order of the original html #232

Open
AlexandreAad opened this issue Nov 24, 2022 · 0 comments
Open

Comments

@AlexandreAad
Copy link

Hello,

I'm experiencing a problem while calling the getAllElements function. It seems the tags are not always in the good order.

For example,

if I have a

<div>
  <p>Hello</p>
  <p>Hi</p>
Bye
</div>

The getAllElements function will return in this order : "Bye, Hello, Hi".
So when we try to build the html in a textView on tvOS, we don't have the elements in the good order unfortunately.

Is it a normal behavior or a bug?

Thanks in advance!

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