Closed ybesnehard closed 9 months ago
Hello @SAP/ui5-webcomponents-topic-rd , This is a reproducible issue with the given codesandbox example. It seems the container-type: inline-size CSS style of TabContainer breaks the fixed position inside its content and as a result Popover is mispositioned. Please, have a look.
Regards, Iliana
Hi @ybesnehard,
The positioning issue is fixed in the main branch.
We recommend placing popup-like components (ui5-dialog and ui5-popover) outside any other components. Preferably, the popup-like components should be placed in an upper level HTML element. Otherwise, in some cases the parent HTML elements can break the position and/or z-index management of the popup-like components.
Best, Teo
Bug Description
Tab Container now use the css property container-type: inline-size that break the fixed position inside its content (usage of popover for example)
Affected Component
Tab Container
Expected Behaviour
The Tab Container should not use container-type: inline-size that breaks the fixed position of components inside it
Isolated Example
https://codesandbox.io/s/ui5-webcomponents-forked-dmwcp7?file=/index.html
Steps to Reproduce
Log Output, Stack Trace or Screenshots
Priority
Very High
UI5 Web Components Version
1.19.0
Browser
Chrome
Operating System
Windows
Additional Context
For SAP Build Process Automation, we can't update to the 1.19.0 that have bug fixes we were expecting due to this regression of popover positioning inside the tab container
Organization
SAP
Declaration