Skip to content

Dropdown menu doesn't take viewport bounds into consideration. #1497

@vic-georgiev

Description

@vic-georgiev

The drop-down should take into account the viewport bounds. Right now it is positioned via static CSS and gets cut at the end of the project grid.

Current:
screen shot 4

Expected:
The menu would show on top of the click target when the viewport bounds would clip it with standard position.
screen shot 5

Desired behavior: https://reactstrap.github.io/components/dropdowns/ - check the menu when the trigger (button) is very close to the browser borders.

Another example is https://tympanus.net/codrops/2013/05/23/tooltip-menu/; check the demo.

Ideally the solution for positioning the dropdown menu would be the same used for displaying tooltips.

Requirement - follow TC SCSS/HTML/JS best practices.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions