add add contact mock messages
This commit is contained in:
parent
aa53013cc4
commit
f0a89bd5e4
5 changed files with 24 additions and 20 deletions
|
|
@ -54,8 +54,12 @@ export default function useMessageView(): {
|
|||
}
|
||||
if (el) {
|
||||
if (shift) {
|
||||
|
||||
shiftOffset -= el.getBBox().height + messagePadding;
|
||||
// if (messageOffset.y < 445) {
|
||||
// shiftOffset -= 15;
|
||||
// } else {
|
||||
// shiftOffset -= el.getBBox().height + messagePadding;
|
||||
// }
|
||||
}
|
||||
animateMessage(el);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue