Releases: scottdurow/power-drag-drop
Release v1.1.0
✨New Feature: Custom Sort Position Column
This pull request updates the behaviour of the component when the SortPositionType
property is set to Custom
. In the standard behaviour, the order of items is based on their index in the dropzone. However, with this update, a CustomSortPositionColumn
can be set to provide an externally persisted position value.
This allows for non-contiguous values and reduces the number of items that need to be updated when they are moved or reordered. This is particularly useful for large lists where you want to minimize the number of patches.
There are additional properties that control this behaviour:
CustomSortIncrement
The amount to increment the position value by when there is non providedCustomSortMinIncrement
When items are dropped in between other items, the gap will gradually decrease. Once it is less than this value, then items will be re-sequenced to accommodate.CustomSortDecimalPlaces
When dropping items between two positions, a fractional position can be set. This property controls how many decimal places the position is set to.CustomSortAllowNegative
By default, when dropping items above/below a zero position value (depending on the sort direction), the position value will be set to a negative number to ensure it appears below the previous. This can be prevent using this property - but can lead to items with the same position value.
Release v1.0.27
Release v1.0.26
Fixes:
- #3 - Setting to
Direction
=Vertical
will prevent horizontal scrollbars from showing when dragging over a drop zone
New:
AccessibilityLabel
andEnableFocus
properties added- Allow setting aria-label on custom HTML templates
- Reduce the touch delay to make dragging more responsive on touch devices whilst still allowing scrolling
Full Changelog: v1.0.25...v1.0.26
Release v1.0.25
Release v1.0.24
Bugs fixed:
#7 Accessible action buttons
Full Changelog: v1.0.23...v1.0.24
Release v1.0.23
New features:
#2 Vertical/Horiztonal/Wrap control
Diff:
v1.0.22...v1.0.23
Release v1.0.22
Update Solution.xml
Release v1.0.21
fix: image alignment
Release v1.0.20
Updated Namespaces