Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit a68155f

Browse files
gnawjarenmelloware
authored andcommitted
Add Props to other overlay components
1 parent 0db5437 commit a68155f

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

components/lib/autocomplete/AutoCompletePanel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ export const AutoCompletePanel = React.memo(
268268
{
269269
className: classNames(props.panelClassName, cx('panel', { context })),
270270
style,
271-
onClick: (e) => props.onClick(e)
271+
onClick: (e) => props.onClick(e),
272+
'data-pr-is-overlay': true
272273
},
273274
_ptm('panel')
274275
);

components/lib/colorpicker/ColorPickerPanel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const ColorPickerPanel = React.forwardRef((props, ref) => {
1414
{
1515
className: cx('panel', { panelProps: props, context }),
1616
style: props.panelStyle,
17-
onClick: props.onClick
17+
onClick: props.onClick,
18+
'data-pr-is-overlay': true
1819
},
1920
ptm('panel', { hostName: props.hostName })
2021
);

components/lib/multiselect/MultiSelectPanel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ export const MultiSelectPanel = React.memo(
266266
{
267267
className: classNames(props.panelClassName, cx('panel', { panelProps: props, context, allowOptionSelect })),
268268
style: props.panelStyle,
269-
onClick: props.onClick
269+
onClick: props.onClick,
270+
'data-pr-is-overlay': true
270271
},
271272
getPTOptions('panel')
272273
);

0 commit comments

Comments
 (0)