How to properly detect two finger tap?

For some reason two finger taps are not being detected when I tap my fingers at the exact same time but they are detected when there is a bit of a delay. This is how I’m doing it:

create:

this.input.on('pointerdown', ptrDown);
this.input.on('pointerup', ptrUp);

update:

if((right && left && player.body.blocked.down) || (left && right && player.body.blocked.down))
        player.setVelocityY(-500); //Double tap not always executing this line 
    else if(!left && right)
        player.setVelocityX(100);
    else if(!right && left)
        player.setVelocityX(-100);
    else if(!right && !left)
        player.setVelocityX(0);

ptrDown:

if(pointer.worldX > width/2)
    {
        right = true;
    }
    if(pointer.worldX < width/2)
    {
        left = true;
    }

ptrUp:

if(pointer.worldX > width/2)
    {
        right = false;
    }
    if(pointer.worldX < width/2)
    {
        left = false;
    }

You may see this example for visualization
https://labs.phaser.io/edit.html?src=src\input\multitouch\two%20touch%20inputs.js

And some detail pointer class doc
https://photonstorm.github.io/phaser3-docs/Phaser.Input.Pointer.html

Thanks for the reply but my phone has a double tap with two fingers to zoom gesture and that was preventing my browser from recognizing it. Once I turned it off it worked perfectly.