Viewport CORE

Examples Setup

TUI_VIEWPORT - define the area relative to which the position constraints will be calculated. Also you can use tuiAsViewport helper instead of token.

Dropdown

#

Here we just limit viewport relative to which the position of the dropdown will be calculated

Dropdown with custom portal

#

If you want your dropdown to open in specific viewport in DOM of your web application, then you need to create your own portal