You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My ruby code consists of the following: <%= form_for :reply, url: comment_path(post_id: @post.id) do |f| %> <%= f.hidden_field :reply_to, value: comment.id.to_s %> <%= f.text_field :body, autofocus: true, class: 'quill_container' %> <%= f.submit "Post" %> <% end %>
First of all, the autofocus doesn't work, although that's a minor issue.
The bigger issue is that the text is not sent sometimes. Specifically, if I type something in and press "Post" without clicking out of the text box first, it doesn't send it. If I type something long, it will send the first part of what I type. However, if I click out of the text box and then click Post, it works every time.
Is this a known issue, or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
My ruby code consists of the following:
<%= form_for :reply, url: comment_path(post_id: @post.id) do |f| %> <%= f.hidden_field :reply_to, value: comment.id.to_s %> <%= f.text_field :body, autofocus: true, class: 'quill_container' %> <%= f.submit "Post" %> <% end %>
First of all, the autofocus doesn't work, although that's a minor issue.
The bigger issue is that the text is not sent sometimes. Specifically, if I type something in and press "Post" without clicking out of the text box first, it doesn't send it. If I type something long, it will send the first part of what I type. However, if I click out of the text box and then click Post, it works every time.
Is this a known issue, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: