Scrollpanel: pt barX is gets overwritten when mouse enters scrollpanel #6682
Labels
Component: Unstyled
Issue related to unstyled/passthrough attributes
Milestone
Describe the bug
The Pass Through for barX on Scrollpanel is overwritten when you hover on the panel.
Initial:
element.style {
opacity: 0;
width: 40px;
}
after hover:
element.style {
width: 97.2366%;
left: 0%;
bottom: -416px;
}
Reproducer
https://stackblitz.com/edit/vitejs-vite-jcmten?file=src%2FApp.tsx
PrimeReact version
10.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome 125
Steps to reproduce the behavior
Make a scrollpanel with content styled with style={{ margin: 8, width: '100%' }}
Add pt for barX
hover on panel
Expected behavior
pt stays on mouse enter
The text was updated successfully, but these errors were encountered: