Skip to content

Commit

Permalink
Merge pull request #262 from rebeccaalpert/pointer-events
Browse files Browse the repository at this point in the history
fix(ChatbotHeader/Message): Disable pointer events
  • Loading branch information
nicolethoen authored Oct 29, 2024
2 parents 0f35f6a + 1a50608 commit 05db337
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/module/src/ChatbotHeader/ChatbotHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
.pf-chatbot__header-main {
display: flex;
gap: var(--pf-t--global--spacer--sm);

img {
pointer-events: none; // prevent dragging on any brand images - interferes with FileDropZone
}
}

// Title -or- Brand
Expand Down
1 change: 1 addition & 0 deletions packages/module/src/Message/Message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
position: sticky;
top: var(--pf-t--global--spacer--md);
object-fit: cover;
pointer-events: none; // prevent dragging - interferes with FileDropZone
}

// Contents
Expand Down

0 comments on commit 05db337

Please sign in to comment.