Scrollable TabView is not honouring parent size in SplitterPanel #5622
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Type: Bug
Issue contains a defect related to a specific component.
Describe the bug
When nested in a splitter, the TabView sizing is not rendered properly when scrollable feature is enables.
Reproducer
https://stackblitz.com/edit/react-bjtfgp-ualzlk?file=src%2FApp.js
PrimeReact version
10.2.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome
Steps to reproduce the behavior
No response
Expected behavior
I would expect the size of the TabView to adapt to the containing SplitterPanel, that is if e.g. the Splitter contains two panel set to 50% of the width each and the scrollable TabView is nested in one of the panels, regardless of the number of tabs the TabView should not occupy more than 50% of the screen width.
The text was updated successfully, but these errors were encountered: