Check the fill tube water should be going in the tube
Valve assembly needs to be adjusted in the tank
This happens to our toilet too. There seems to be some water spraying inside the tank that overflows. Hope you have solved ...