I have a tilelist component with an item renderer that has a context menu. When I use the context menu the clicks are not handled by the item renderer that I am right clicking on. Sometimes it is even the wrong event listener that is being used and it does the wrong thing. Sometimes it even crashes the web browser.
This does not happen if I have already selected the item in question. I am handling the data change event and everything. It is driving me crazy.
Additionally if I add an context menu item that corresponds to the data object I can see that each context menu has been created properly, the event listeners are just...wrong.
Also the behaviour of a context menu can change depending on how many times I have clicked on it. This just should not happen!