podio / jquery-mentions-input

MIT License
985 stars 333 forks source link

Problem when mentioninput form is loaded via ajax #150

Open ivicaned opened 8 years ago

ivicaned commented 8 years ago

I am using jQuery/ajax to load form that have textarea with mention input. Loading tagged elements(users) works, but the only problem is that I need to click submit button two times, or to click outside form and then click submit button(so textarea lost focus first). We also have some elements that are not using ajax, and for these it is enough to click just once. I do not know why this happen, any idea where I should look into?

lysender commented 8 years ago

I noticed it too, but our issue is that the textarea expands after a blur. If it does not expand, a single click works.