Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #6682 #7247

Merged
merged 3 commits into from
Sep 25, 2024
Merged

fix: #6682 #7247

merged 3 commits into from
Sep 25, 2024

Conversation

gcko
Copy link
Contributor

@gcko gcko commented Sep 25, 2024

Defect Fixes

fix: #6682

  • Ensure element styles set via pt merge with required xBarRef and yBarRef styles

The following styles for "barX" can not be overridden:

  • width
  • left
  • bottom

The following styles for "barY" can not be overridden:

  • height
  • top
  • right

- Ensure element styles set via pt merge with required `xBarRef` and `yBarRef` styles

The following styles for "barX" can not be overridden:
 - width
 - left
 - bottom

 The following styles for "barY" can not be overridden:
 - height
 - top
 - right
Copy link

vercel bot commented Sep 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Sep 25, 2024 6:43am
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Sep 25, 2024 6:43am

- Fix static method to properly make use of `style` parameter
- Update typing
@@ -1055,9 +1055,9 @@ export default class DomHandler {

static applyStyle(element, style) {
if (typeof style === 'string') {
element.style.cssText = this.style;
element.style.cssText = style;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melloware I updated DomHandler.applyStyle to correctly "apply" the passed in style parameter.

@melloware melloware merged commit dfe5e9f into primefaces:master Sep 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scrollpanel: pt barX is gets overwritten when mouse enters scrollpanel
2 participants