ItemClickListener#itemClick invokes three times on double click of Table it

Hi,
Can anybody tell me why itemClick method invokes three times on the double click of table item. I’m expecting one for single click & one for double click i.e. total two invocations but here it is three. Is it a feature or bug? My requirement is I want to invoke a method (say singleClickMethod) on single click and another method (say doubleClickMethod) on double click, and only once on click. How can I achieve it?

Table table = new Table("The Brightest Stars");

        table.addContainerProperty("Name", String.class, null);
        table.addContainerProperty("Mag",  Float.class, null);

        Object newItemId = table.addItem();
        
        Item row1 = table.getItem(newItemId);
        row1.getItemProperty("Name").setValue("Sirius");
        row1.getItemProperty("Mag").setValue(-1.46f);

        table.setPageLength(table.size());
        
        table.addItemClickListener(new ItemClickListener() {

            @Override
            public void itemClick(ItemClickEvent event) {
                
                System.out.println("event.isDoubleClick() "
                        + event.isDoubleClick());
                
                System.out.println("event.getItemId() " + event.getItemId());
                
                System.out.println("");

            }
        });
        
        layout.addComponent(table);

It prints :-

event.isDoubleClick() false
event.getItemId() 1

event.isDoubleClick() false
event.getItemId() 1

event.isDoubleClick() true
event.getItemId() 1       

Thanks in advance

The first event is a single click.
The second event is the release of first click.
The thirt event is the double click.

Someone knows how to vaadin client just send the double click event?

Hi guys, please take a look at https://dev.vaadin.com/ticket/11814