contain-by-screen

Position a dropdown element near a button in a way that fits on the screen.

Browse on unpkg