Fix Composer: Width jumps, web page with long description, missing closing animation (#1450)
This commit is contained in:
parent
665dce9631
commit
b95e804a9f
@ -189,7 +189,7 @@
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
max-width: calc(100% - 3rem);
|
||||
max-width: calc(100% - 3.375rem);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ const WebPagePreview: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
const isShown = Boolean(webPagePreview && messageText.length && !noWebPage && !disabled);
|
||||
const { shouldRender, transitionClassNames } = useShowTransition(isShown);
|
||||
|
||||
const renderingWebPage = useCurrentOrPrev(webPagePreview);
|
||||
const renderingWebPage = useCurrentOrPrev(webPagePreview, true);
|
||||
|
||||
if (!shouldRender || !renderingWebPage) {
|
||||
return undefined;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user