Skip to content

Commit

Permalink
Merge pull request #7575 from PaulHryn/moo/feat/drawer-and-reanimated…
Browse files Browse the repository at this point in the history
…-removal

Update TabContainer widget guide
  • Loading branch information
MariaShaposhnikova authored May 31, 2024
2 parents ea79081 + d0f3877 commit 84ce152
Showing 1 changed file with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ A tab container contains one or more tab pages where you place widgets. For exam

### 5.1 Tab Page-Specific Properties

#### 3.1.1 Default Tab Page
#### 5.1.1 Default Tab Page

**Default tab page** defines which tab is displayed when the page is opened. If no tab is set as the default one, the first tab page will be shown.

Expand All @@ -71,7 +71,21 @@ Default: *True*
This property is not supported on native mobile pages.
{{% /alert %}}

## 6 Read More
## 6 Best Practices

### 6.1 Stand-Alone (#stand-alone)

You can use a tab container as a stand-alone widget for greater ease. This means there is no need to place it within a container or other wrapper widgets, as doing so may disrupt the display of content.

### 6.2 Usage with Scroll Container {#usage-with-scroll-container}

Avoid nesting tab containers inside of scroll container. It may break the way tab page content is displayed, and furthermore will disable rendering optimizations inside the tab view.

{{% alert color="info" %}}
To enable scrollable behavior within a specific tab, place the **Tab Content** inside a scroll container or display it in a list view.
{{% /alert %}}

## 7 Read More

* [Page](/refguide/page/)
* [Structure](/refguide/structure-widgets/)
Expand Down

0 comments on commit 84ce152

Please sign in to comment.