Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor text overflow and result into not correct cursor position. Firefox v109.0 #476

Closed
faisalamin9696 opened this issue Jan 25, 2023 · 2 comments

Comments

@faisalamin9696
Copy link

faisalamin9696 commented Jan 25, 2023

Hi, the text overflow from the defined height, and after scrolling it the cursor position gets some padding. As shown here

Issue occurred when I set
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;

image

image

I am using the latest version of @uiw/react-md-editor": "^3.20.2"
react 18.2.0

@rizkianakbar
Copy link

Can someone help to solve this problem? I also experienced the same thing.

@jaywcjlove
Copy link
Member

image

@faisalamin9696 @rizkianakbar

This is definitely a style conflict, overriding the default line height

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants