NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
19 Dec 2021

Pull Request for Issue # .

Summary of Changes

Add Auto scroll in the draggable lists, eg drag an item and the list will automatically scroll up/down if you reached the bottom/top of the list.

Testing Instructions

Apply the PR and check the administrator/index.php?option=com_plugins&view=plugins to see if the list auto scrolls when the dragged item reaches to the bottom of the page

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Documentation Changes Required

avatar dgrammatiko dgrammatiko - open - 19 Dec 2021
avatar dgrammatiko dgrammatiko - change - 19 Dec 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2021
Category Repository NPM Change JavaScript
29dbe1f 19 Dec 2021 avatar dgrammatiko CS
avatar dgrammatiko dgrammatiko - change - 19 Dec 2021
Labels Added: NPM Resource Changed ?
avatar brianteeman
brianteeman - comment - 19 Dec 2021

nice find

avatar PhocaCz PhocaCz - test_item - 20 Dec 2021 - Tested unsuccessfully
avatar PhocaCz
PhocaCz - comment - 20 Dec 2021

I have tested this item ? unsuccessfully on e877389

Hi,

it does work for standard items (e.g. articles) but e.g. on Linux, the scrolling starts only in specific position, very hard to find it - in fact it is very hard to start the autoscroll

https://i.imgur.com/GOqpBcL.gif

In subforms, it does not work entirely.

Jan


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36354.

avatar dgrammatiko
dgrammatiko - comment - 20 Dec 2021

In subforms, it does not work entirely.

Subforms are NOT using the same drag and drop script, so that's expected

avatar PhocaCz
PhocaCz - comment - 20 Dec 2021

Subforms are NOT using the same drag and drop script, so that's expected

Ok, as you can see on my GIF, I get problems to sort on my Linux, so will be good, if other can test it in other environments.

avatar brianteeman brianteeman - test_item - 20 Dec 2021 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 20 Dec 2021

I have tested this item ? unsuccessfully on e877389


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36354.

avatar brianteeman
brianteeman - comment - 20 Dec 2021

The drag scroll is very very slow
It is not longer possible to drop except at the last position


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36354.

avatar brianteeman
brianteeman - comment - 20 Dec 2021

Note: i tested the codepen which worked fine

avatar PhocaCz
PhocaCz - comment - 20 Dec 2021

The drag scroll is very very slow

I have the same behaviour on Linux (KDE), it starts to be faster but only in specific position and it is hard to find this position.

avatar PhocaCz
PhocaCz - comment - 20 Dec 2021

let's use the max speed param

For me, there is no change :-( ... it is still slow until I find randomly the place where it starts to work (but as written above, it is really hard to find this place)

avatar dgrammatiko
dgrammatiko - comment - 30 Dec 2021

I'm putting this in draft mode. Will revisit later

avatar dgrammatiko
dgrammatiko - comment - 14 Jan 2022

Closing here as the solution is different than the approach in this PR

avatar dgrammatiko dgrammatiko - change - 14 Jan 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-01-14 18:11:03
Closed_By dgrammatiko
avatar dgrammatiko dgrammatiko - close - 14 Jan 2022

Add a Comment

Login with GitHub to post a comment