Skip to content

ui5-tabcontainer throws error when rendered without tabs #5778

@MarcusNotheis

Description

@MarcusNotheis

Bug Description

The ui5-tabcontainer throws an error when being rendered without tabs. This can be the case when tabs are lazy loaded or generated during runtime.

Expected Behavior

Does not crash (like in 1.6.0).

Steps to Reproduce

  1. Open CodeSandBox: https://codesandbox.io/s/keen-sunset-76d1cu?file=/src/App.js
  2. Optional: If you downgrade to UI5 Web Components 1.6.0 it's working fine

Isolated Example

https://codesandbox.io/s/keen-sunset-76d1cu?file=/src/App.js

Context

  • UI5 Web Components version: 1.7.0
  • Affected component: ui5-tabcontainer

Log Output / Stack Trace / Screenshots

image

Priority

  • Low
  • Medium
  • High
  • Very High

Regression from 1.6.0

Stakeholder Info (if applicable)

  • Organization: UI5 Web Components for React
  • Business impact: Blocking update to 1.7.0

Metadata

Metadata

Labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions