FireFox & doubleClick detection

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

Noticed the doubleclick is also not detected in ie9 either, does anyone else see this?

This solution made my day : setImmediate(false) on the tree object.

http://stackoverflow.com/questions/15971437/vaadin-double-click-and-browser-behavior

Regards,
nm.