Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Virtual Tile List weird "onclick" behaviour

Hi everyone!

I have this really weird issue with virtual tile lists.

The problem is not with actually giving them a value, but rather with "onclick" of the generated ones.

Let's say my pool for the list looks like this:

 

<use id="my-pool" href="#tile-list-pool">
    <use id="my-pool[0]" href="#my-item" />
    <use id="my-pool[1]" href="#my-item" />
    <use id="my-pool[2]" href="#my-item" />
    <use id="my-pool[3]" href="#my-item" />
    <use id="my-pool[4]" href="#my-item" />
    <use id="my-pool[5]" href="#my-item" />
    <use id="my-pool[6]" href="#my-item" />
</use>

 

If I now click on the element that would be my-pool[8] (It does not exist in the .view file, but it was generated), it triggers "onclick" for my-pool[1], and immediately after that the right one (my-pool[8]).

Now, because I use the returned value for a fetch, I always get the wrong data.

Also sometimes, but only rarely, the list doesn't generate. It stops after the defined pools and only a reload of the view fixes it.

Has anyone had similar issues?

Thanks in advance!

Kind regards
Dominik

Best Answer
0 Votes
2 REPLIES 2

Hello Dominik, I have a similar issue. My virtual tile list contains checkboxes. If I check one of the checkboxes, another one that is later generated will get checked too. How have you solved the issue?

Thank you!

Best Answer
0 Votes

Hi pll!

Thanks for replying.

Sadly I still haven't found a way to fix this issue. It could actually be an issue with the SDK itself, however, I am not 100% sure about that. 

If you find anything, then please let me know, and maybe someone from the SDK Dev Team could have a look at that if the issue really is SDK related.

Kind regards
Dominik

Best Answer
0 Votes