Skip to content

Commit 05db337

Browse files
authored
Merge pull request #262 from rebeccaalpert/pointer-events
fix(ChatbotHeader/Message): Disable pointer events
2 parents 0f35f6a + 1a50608 commit 05db337

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/module/src/ChatbotHeader/ChatbotHeader.scss

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
.pf-chatbot__header-main {
1717
display: flex;
1818
gap: var(--pf-t--global--spacer--sm);
19+
20+
img {
21+
pointer-events: none; // prevent dragging on any brand images - interferes with FileDropZone
22+
}
1923
}
2024

2125
// Title -or- Brand

packages/module/src/Message/Message.scss

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
position: sticky;
2424
top: var(--pf-t--global--spacer--md);
2525
object-fit: cover;
26+
pointer-events: none; // prevent dragging - interferes with FileDropZone
2627
}
2728

2829
// Contents

0 commit comments

Comments
 (0)