yii2-multiple-input icon indicating copy to clipboard operation
yii2-multiple-input copied to clipboard

Can't work inner drag column inside another drag column

Open bscheshirwork opened this issue 6 years ago • 4 comments

If I put nested

                            'type' => MultipleInput::class,
                            'options' => [
                                'sortable' => true,

inside to

                ])->widget(MultipleInput::class, [
                    'sortable' => true,

the inner drag moving to outer drop zone

bscheshirwork avatar Aug 27 '19 14:08 bscheshirwork

according to the widget documentation that we use for sorting, it supports nested sorting. So we have to dig deeper and fix the issue

unclead avatar Nov 16 '20 13:11 unclead

wrong selector may be?

bscheshirwork avatar Nov 16 '20 14:11 bscheshirwork

I didn't investigate yet, just checked the plugin docs and found out that nested sorting is supported

unclead avatar Nov 16 '20 17:11 unclead

It seems that we can rewrite sorting using native drag and drop functionality (https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API)

unclead avatar Jun 26 '21 17:06 unclead

After migration to SortableJs (see 977ca80c115fbfc1293dbe0eb811c754f6637964) the issue is not reproducible anymore. I close the issue.

unclead avatar Mar 30 '24 18:03 unclead