primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.58k stars 990 forks source link

StepperPanel: Pass Through "number" option not working #6910

Closed benjaminarteaga closed 2 weeks ago

benjaminarteaga commented 1 month ago

Describe the bug

The number option within the pt property of StepperPanel is not applying the specified class.

Reproducer

https://stackblitz.com/edit/bglgem?file=src%2FApp.jsx

PrimeReact version

10.7.0

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

melloware commented 1 month ago

Is your issue similar to this one: https://github.com/primefaces/primereact/issues/6870 ?

benjaminarteaga commented 1 month ago

I don't think so, it is similar to #5932. I tested both with unstyled mode and with a theme, and the classes I added via pt are simply not being assigned in the DOM. This happens with number and some other pt properties in StepperPanel.