if it is custom then please share your code so that we can debug it

Please hit like and mark my response as correct if that helps