yairEO / tagify

🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue
https://yaireo.github.io/tagify/
Other
3.54k stars 436 forks source link

Cannot place caret before tag when tag is at beginning of a line #620

Open gabber7 opened 4 years ago

gabber7 commented 4 years ago

Thanks for providing this great component. It solves a big usability issue I had previously with regular textareas.

Prerequisites

Demo Page

https://codesandbox.io/s/tagify-react-wrapper-oempc https://oempc.csb.app/MixedModeTagify

Aug-12-2020 16-50-22

Explanation

yairEO commented 4 years ago

I've made a simplified demo of the bug

It's a Chrome bug... Chrome has a multitude of extremely annoying bugs with anything related to contenteditable... it's a big problem.

gabber7 commented 4 years ago

I've made a simplified demo of bug

It's a Chrome bug... Chrome has a multitude of extremely annoying bugs with anything related to contenteditable... it's a big problem.

Thank you for taking time to look into this. 🙏