Skip to content

Commit 086a2dd

Browse files
Chat: implement onMessageUpdating, onMessageUpdated functionality (DevExpress#29763)
1 parent 2508353 commit 086a2dd

File tree

25 files changed

+890
-90
lines changed

25 files changed

+890
-90
lines changed
106 Bytes
Loading
105 Bytes
Loading
84 Bytes
Loading
24 Bytes
Loading

packages/devextreme-scss/scss/widgets/base/_menuBase.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
display: inline;
5151
vertical-align: middle;
5252
white-space: nowrap;
53-
54-
@include dx-overflow(ellipsis);
53+
text-overflow: ellipsis;
5554
}
5655

5756
.dx-menu-item-text-with-url {

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-confirmationpopup/_mixins.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
@mixin chat-confirmation-popup(
2+
$border-radius,
23
$content-padding-bottom,
34
$toolbar-padding-block,
45
$toolbar-padding-inline,
56
$toolbar-gap
67
) {
78
.dx-chat-confirmation-popup-wrapper {
9+
border-radius: $border-radius;
10+
811
.dx-popup-content {
912
padding-bottom: $content-padding-bottom;
1013
}

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagebox-editing-preview/_index.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
display: flex;
33
align-items: center;
44
position: relative;
5+
animation: dx-messagebox-editing-preview-fadein 0.25s ease-out;
6+
7+
&.dx-chat-editing-preview-hiding {
8+
animation: dx-messagebox-editing-preview-fadeout 0.1s ease-out;
9+
}
10+
11+
.dx-chat-editing-preview-text {
12+
animation: dx-messagebox-editing-preview-fadein 0.25s ease-out;
13+
}
514
}
615

716
.dx-chat-editing-preview-content {
@@ -28,3 +37,23 @@
2837
text-overflow: ellipsis;
2938
overflow: hidden;
3039
}
40+
41+
@keyframes dx-messagebox-editing-preview-fadein {
42+
from {
43+
opacity: 0;
44+
}
45+
46+
to {
47+
opacity: 1;
48+
}
49+
}
50+
51+
@keyframes dx-messagebox-editing-preview-fadeout {
52+
from {
53+
opacity: 1;
54+
}
55+
56+
to {
57+
opacity: 0;
58+
}
59+
}

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagelist/_mixins.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,13 @@
8585
}
8686
}
8787
}
88+
89+
.dx-chat-messagelist {
90+
.dx-scrollable-container {
91+
> .dx-overlay-wrapper {
92+
max-width: 100%;
93+
max-height: 100%;
94+
}
95+
}
96+
}
8897
}

packages/devextreme-scss/scss/widgets/fluent/chat/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
$chat-message-editing-preview-cancel-button-color,
106106
);
107107
@include chat-confirmation-popup(
108+
$chat-border-radius,
108109
$chat-confirmation-popup-content-padding,
109110
0 $chat-confirmation-popup-toolbar-padding-block,
110111
$chat-confirmation-popup-toolbar-padding-inline,

packages/devextreme-scss/scss/widgets/generic/chat/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
$chat-message-editing-preview-cancel-button-color,
109109
);
110110
@include chat-confirmation-popup(
111+
$chat-border-radius,
111112
$chat-confirmation-popup-content-padding,
112113
$chat-confirmation-popup-toolbar-padding-block,
113114
$chat-confirmation-popup-toolbar-padding-inline,

0 commit comments

Comments
 (0)