Currently the dropdown is missing the bounds check. If the dropdown is not able to display itself completely, it should open upwards instead. This behavior is supported in most other opensource dropdown components.
Here is a picture showing the incorrect behavior.

Currently the dropdown is missing the bounds check. If the dropdown is not able to display itself completely, it should open upwards instead. This behavior is supported in most other opensource dropdown components.
Here is a picture showing the incorrect behavior.