If a girl has her period and her genitals grow pubic hair, it is not certain that she will not grow taller, and it should be analyzed according to the results of further examination.
The fact that a girl is menstruating and has pubic hair on her genitals means that her reproductive system is basically well developed, and that her uterus and ovaries are functioning normally, but there is no direct correlation to whether she will continue to grow taller or not, and she needs to go to the hospital to have a further examination to determine whether or not she will continue to grow taller.
X-rays are usually needed to determine whether the epiphysis has closed. If the epiphysis has closed, it means that there is no hope for the long bones to grow any further, and therefore they will not grow any further. If the epiphysis has not yet closed, it means that there is still hope for growth, and weight gain can be promoted through better nutrition and proper exercise.
In addition, height is related to heredity, nutrition and other factors, and it is recommended to consult a medical professional for details.