Welcome to Android Central.
You say that your screen "spat out some glue", do you mean that it came from the seam where the two are connected to one another at the frame?
Then you go on to say that the screen fell off, did you ever have this repaired or is your screen still loosely connected to the phone?
What device do you have?
While the digitizer is a rugged piece of tech they are not indestructible and since it is only one portion of the screen that is being affected I wouldn't be surprised if something hadn't been damaged but it could be possible that something just came loose. If the screen still falls off, try carefully opening the device and checking that everything between the screen and the board inside is connected well and nothing is partially plugged in.
Without a good seal around the screen there is also a possibility that moisture has gotten in and could be causing issues.
Let us know what you find. If you would like to reply to this thread and receive notifications when others leave replies, please create an account. This link will help you do that..
https://forums.androidcentral.com/ask-question/409154-join-android-central-community-new-post.html