Closed tomdyson closed 6 years ago
I think I have experienced this too, didn't manage to pinpoint the cause either. Will investigate.
It seems like the initial cause itself is a part of the prefixing icon and not being able to select the first letter when visible (the w in Toms screen). At that point the cursor will jump to the beginning of the icon which does not hold the link but still shows the dialog.
When you disable the icon this is partially the same behaviour except the 1st letter is now clickable / targetable. But also when the cursor is in front of the first letter, it shows the dialog, but does not respond to either Edit or Remove.
Update: DraftJS Link demo shows the same behaviour with cursor in front of the text.
Regardless of what default is chosen, the configuration should be documented (or linked to the draft one?)
Moving this to https://github.com/springload/draftail/issues/109, as the issue isn't specific to WagtailDraftail.
See screencast. I haven't been able to establish a pattern!