-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Type: BugIssue contains a defect related to a specific component.Issue contains a defect related to a specific component.
Milestone
Description
Describe the bug
Current logic incorrectly identifies any nested Prime Component (such as a Button) as a nested SplitterPanel causing incorrect behaviour and messes up styles. This change fixes that to identify SplitterPanel component only for such purpose.
Reproducer
https://stackblitz.com/edit/stackblitz-starters-kshvdxcw?file=src%2FApp.tsx
System Information
primereact: 10.9.7
react: 18.3.1Steps to reproduce the behavior
stackblitz link shared above
Expected behavior
In the stackblitz example, Button should render with default styling
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a defect related to a specific component.Issue contains a defect related to a specific component.