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

onBlur is triggered whenever we click on Rich Text Editor Controls #3209

Closed
Avas77 opened this issue Dec 19, 2022 · 2 comments
Closed

onBlur is triggered whenever we click on Rich Text Editor Controls #3209

Avas77 opened this issue Dec 19, 2022 · 2 comments
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@Avas77
Copy link

Avas77 commented Dec 19, 2022

What package has an issue

@mantine/tiptap

Describe the bug

I am trying to show the Rich Text Editor controls only when the text editor is focused. It works but whenever I click on the text editor control buttons like Link, Bold etc, the onBlur event is also triggered and the text editor control gets hidden

What version of @mantine/hooks page do you have in package.json?

5.9.3

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/fervent-minsky-4wv5yh?file=/src/Editor.js

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

None

Possible fix

No response

@patrickserrano
Copy link

Just wanted to see if there was any update on this? I wanted to save the contents of the editor onBlur but it's a little clunky if formatting triggers a save.

@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Sep 21, 2023
@rtivital
Copy link
Member

The issue is resolved in 7.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

3 participants