Skip to content

Commit d7df233

Browse files
committed
fix: respect outer visibility across Web Chat
1 parent a6b3ad8 commit d7df233

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/component/src/Styles/StyleSet/ActivityCopyButton.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default function createActivityButtonStyle() {
2727

2828
'@keyframes webchat__activity-copy-button__copied-animation': {
2929
'0%': {
30+
// This is set during the animation only hence shouldn't spill when hidden from the above tree
3031
visibility: 'visible'
3132
},
3233

packages/component/src/Styles/StyleSet/ThumbButton.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function () {
5555
width: 14,
5656

5757
'&.webchat__thumb-button__image--is-stroked': {
58-
visibility: 'visible'
58+
visibility: 'unset'
5959
}
6060
},
6161

@@ -66,7 +66,7 @@ export default function () {
6666
},
6767

6868
'&.webchat__thumb-button__image--is-filled': {
69-
visibility: 'visible'
69+
visibility: 'unset'
7070
}
7171
}
7272
}

packages/fluent-theme/src/components/sendBox/TextArea.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
:global(.webchat-fluent) .sendbox__text-area--in-completion {
1616
.sendbox__text-area-doppelganger {
17-
visibility: visible;
17+
visibility: unset;
1818
}
1919

2020
.sendbox__text-area-input {

0 commit comments

Comments
 (0)