ngx-sortablejs icon indicating copy to clipboard operation
ngx-sortablejs copied to clipboard

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

Open nitesh354 opened this issue 5 years ago • 2 comments

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.

nitesh354 avatar Oct 12 '19 19:10 nitesh354

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

nestor-diaz avatar Jun 08 '20 14:06 nestor-diaz

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.

nitesh354 avatar Jun 10 '20 02:06 nitesh354