diff --git a/ui/src/components/inbox.tsx b/ui/src/components/inbox.tsx index 8ced73f..afd9bf9 100644 --- a/ui/src/components/inbox.tsx +++ b/ui/src/components/inbox.tsx @@ -369,6 +369,7 @@ export class Inbox extends Component { this.sendUnreadCount(); window.scrollTo(0, 0); this.setState(this.state); + setupTippy(); } else if (res.op == UserOperation.MarkAllAsRead) { this.state.replies = []; this.state.mentions = []; diff --git a/ui/src/components/private-message-form.tsx b/ui/src/components/private-message-form.tsx index f5f0cc7..7e498ba 100644 --- a/ui/src/components/private-message-form.tsx +++ b/ui/src/components/private-message-form.tsx @@ -27,6 +27,7 @@ import { toast, randomStr, setupTribute, + setupTippy, } from '../utils'; import Tribute from 'tributejs/src/Tribute.js'; import autosize from 'autosize'; @@ -108,6 +109,7 @@ export class PrivateMessageForm extends Component< this.setState(this.state); autosize.update(textarea); }); + setupTippy(); } componentWillUnmount() { @@ -170,18 +172,28 @@ export class PrivateMessageForm extends Component< /> )} - @@ -121,58 +129,85 @@ export class PrivateMessage extends Component< dangerouslySetInnerHTML={mdToHtml(this.messageUnlessRemoved)} /> )} -