I have a tree that opens items when they are double clicked, it works in chrome and ie, but firefox just treats the clicking as two single clicks no matter how fast I try and click.
Has anyone run into this issue, I know there was a bug with double click & trees before, but I though it was fixed.
I’m running vaadin 6.7.8.
the code for the clicklistener is as follows:
this.addListener(new ItemClickListener(){
public void itemClick(ItemClickEvent event) {
Item item = event.getItem();
if(event.isDoubleClick()){
openItem(item);
}else{
LOGGER.debug("ignoring single click");
}
}
});
com.vaadin.event.ItemClickEvent;
com.vaadin.event.ItemClickEvent.ItemClickListener;
Cheers,
Matt