react-markdown-editor icon indicating copy to clipboard operation
react-markdown-editor copied to clipboard

height reduced which window resize

Open minimorph223 opened this issue 3 years ago • 4 comments
trafficstars

no matter window get larger or smaller, the height reduced always. browser: chrome (I tried on safari and firefox as well, same issue)

https://user-images.githubusercontent.com/6702159/158762386-b0e5f3c7-302a-4afc-8bb8-b8d9c1d79bd3.mov

minimorph223 avatar Mar 17 '22 07:03 minimorph223

@minimorph223 Upgrade v3.2.9

jaywcjlove avatar Mar 17 '22 08:03 jaywcjlove

i am using markdown-editor with nextjs. After upgrade to v.3.2.9, the issue still existed on my local. Is it related?

import '@uiw/react-markdown-editor/markdown-editor.css';
import '@uiw/react-markdown-preview/markdown.css';

const MDEditor = dynamic(
  () => import("@uiw/react-markdown-editor"),
  { ssr: false }
);

minimorph223 avatar Mar 18 '22 03:03 minimorph223

Provide an example via codesandbox.io @minimorph223

jaywcjlove avatar Mar 18 '22 18:03 jaywcjlove

Provide an example via codesandbox.io @minimorph223

https://codesandbox.io/s/hardcore-scott-5xuh4h?file=/pages/index.js

minimorph223 avatar Mar 21 '22 06:03 minimorph223