Great post! I'm sure you know this but for those reading this that don't know, you can also use @angular/cdk (the Angular Component Dev Kit) and use their Overlay service to handle a lot of this stuff for you, including some incredibly powerful positioning and scroll behavior APIs that you won't have to implement yourself. (such as if you wanted to attach an overlay to an element rather than positioning it globally)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great post! I'm sure you know this but for those reading this that don't know, you can also use
@angular/cdk
(the Angular Component Dev Kit) and use their Overlay service to handle a lot of this stuff for you, including some incredibly powerful positioning and scroll behavior APIs that you won't have to implement yourself. (such as if you wanted to attach an overlay to an element rather than positioning it globally)