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

Text selection on Web doesn't work when passing markdownStyle without useMemo #544

Open
289Adam289 opened this issue Nov 14, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@289Adam289
Copy link

Description:

When passing markdownStyle prop directly into MarkdownInputComponent without useMemo first e.g. markdownStyle={{link: {color: 'limegreen'}}} text selection stops working.

Screen.Recording.2024-11-14.at.17.31.36.mov

Reproduction steps:

  1. Use WebExample app
  2. Change markdownStyle={markdownStyle} to markdownStyle={{link: {color: 'limegreen'}}} and save
  3. Try selecting part of the input

Commit: c352064

@289Adam289
Copy link
Author

cc @BartoszGrajdek @Skalakid

@SzymczakJ
Copy link
Contributor

Please assign me as I will work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants