getAllElements doesn't return in the good order of the original html
AlexandreAad opened this issue · 2 comments
AlexandreAad commented
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!