SortableJS / ngx-sortablejs

Angular 2+ binding to SortableJS. Previously known as angular-sortablejs
https://sortablejs.github.io/ngx-sortablejs/
MIT License
466 stars 160 forks source link

Moving cursor in text field using mouse click not working in Firefox #177

Open nitesh354 opened 4 years ago

nitesh354 commented 4 years ago

I am using ngx-sortablejs in my application to implement drag and drop tile behavior. Our tile includes form elements also.

Recently we got a bug from our QA that we are not able to move the cursor in a text field inside the tile using mouse in Firefox. Cursor always goes to the end of the text. But we are able to move cursor using keyboard arrow keys.

Firefox version used: v69.0.3 (64-bit)

Then I tried to reproduce the same in the demo page of ngx-sortablejs. https://sortablejs.github.io/ngx-sortablejs/sortable-form-array

I am able to reproduce it here too.

Please try to open the URL in firefox and try to move cursor in the text field using mouse click.

nestor-diaz commented 4 years ago

Hi @nitesh354, take a look at this thread https://github.com/SortableJS/Sortable/issues/1115 The solution @aintJoshinya proposed might help you.

nitesh354 commented 4 years ago

Thanks, @ndiaz-candido.

That solution would work but it will change the user experience. I will check with our UX folks to see if this will work.