awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
272 stars 73 forks source link

Remove editor focus on update #189

Closed jyrkidn closed 10 months ago

jyrkidn commented 11 months ago

If you are switching fields fast, the focus switches back to the tiptap editor, because of the timeout after 500ms. Removing the setTimeout fixes this.

I have tested this also in combination with the official Translatable package and I don't see any issues.

awcodes commented 10 months ago

Thanks. I'm trying to remember why that's there. There is a specific reason for it though.

awcodes commented 10 months ago

This has been changed to $nextTick in v3.1. Let me know if you continue to have issues.