Skip to content

Commit

Permalink
Misc Section - classnames not being set in unstyled mode #6329
Browse files Browse the repository at this point in the history
  • Loading branch information
gucal committed Apr 9, 2024
1 parent 6d76a49 commit f5207ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/blockui/BlockUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const BlockUI = React.forwardRef((inProps, ref) => {
id: props.id,
ref: elementRef,
style: props.containerStyle,
className: cx('root'),
className: classNames(props.containerClassName, cx('root')),
'aria-busy': props.blocked
},
BlockUIBase.getOtherProps(props),
Expand Down
2 changes: 1 addition & 1 deletion components/lib/blockui/BlockUIBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ComponentBase } from '../componentbase/ComponentBase';
import { classNames } from '../utils/Utils';

const classes = {
root: ({ props }) => classNames('p-blockui-container', props.containerClassName),
root: 'p-blockui-container',
mask: ({ props }) =>
classNames('p-blockui p-component-overlay p-component-overlay-enter', {
'p-blockui-document': props.fullScreen
Expand Down

0 comments on commit f5207ba

Please sign in to comment.