This is a migrated thread and some comments may be shown as answers.

Sortable - issues with inputs

1 Answer 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Veronika
Top achievements
Rank 1
Veronika asked on 22 Nov 2017, 11:29 AM

Hi,

while using Kendo Sortable component, I've run into following problem:

If I use an input element inside a sortable element, I need to DOUBLE-click the input to be able to edit it. 

I found that Kendo UI for jQuery has ignore option (https://docs.telerik.com/kendo-ui/api/javascript/ui/sortable#configuration-ignore) - is there anything similar in Kengo Angular UI that I'm missing?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 23 Nov 2017, 09:41 AM
Hello Veronika,

I could not replicate the exact described undesired behavior:

http://plnkr.co/edit/dq0B1WHXBHeQtgcHlC7S?p=preview

But depending on the specific scenario there might be different issues when using an input inside of a Sortable template. For example if the input is value-bound to the items the Sortable is bound to, the whole component will be rerendered (and thus the input will lose focus) each time the value changes:

http://plnkr.co/edit/d4A6UkiwF2nb2609gtvE?p=preview

Unfortunately, currently there is no property similar to the Kendo UI for jQuery counterpart widget's "ignore" one, but we are considering introducing serious changes to the current implementation of the Sortable component as there are multiple issues and limitations, related to the current one.

Please submit feature requests to our UserVoice portal for any enhancements that you would like to see in a future version of the Sortable component:

http://kendoui-feedback.telerik.com/forums/555517-kendo-ui-for-angular-feedback?category_id=181438

... so we consider them when we start working on upgrading the package. Thank you in advance.

As for the described need of double-clicking to focus the inputs, can you please send us a similar plunker (or modify one of these above to resemble the scenario better) or an isolated runnable project where the described problem can be observed, so we can inspect it further and determine what might be causing it? Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Veronika
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or