@onekeyfe/react-native-native-list 6.8.0-23 → 6.8.0-25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/SPEC.md
CHANGED
|
@@ -741,9 +741,40 @@ and retain the currently accepted snapshot.
|
|
|
741
741
|
Toggling `reorderActivation` or `reorderable` cancels pending and active
|
|
742
742
|
pointer reorder without emitting a reorder event. An accepted full Web
|
|
743
743
|
snapshot supersedes a provisional reorder; accepted row patches retain their
|
|
744
|
-
content even if a gesture is cancelled.
|
|
745
|
-
|
|
746
|
-
|
|
744
|
+
content even if a gesture is cancelled. The capability travels in snapshot JSON;
|
|
745
|
+
the Nitro ABI is unchanged.
|
|
746
|
+
|
|
747
|
+
Web reorderable data rows, including wallet groups, show a visible focus
|
|
748
|
+
indicator and can receive keyboard focus even when `pressDisabled`. In
|
|
749
|
+
`handle` mode the focused row must have a rendered handle to start keyboard
|
|
750
|
+
sorting. Fixed footers and other rows outside the reorderable data set follow
|
|
751
|
+
their ordinary focus and action rules. Toggling sorting eligibility preserves
|
|
752
|
+
focus on unchanged inline controls.
|
|
753
|
+
|
|
754
|
+
Space starts the keyboard preview with the source row and its handle visible.
|
|
755
|
+
Arrow keys move it and reveal the new position using measured row heights.
|
|
756
|
+
Space on the focused source row commits. Escape restores the original order
|
|
757
|
+
and returns focus to the source while it is mounted, including when focus has
|
|
758
|
+
moved to another row. Tab, wheel input directed to the list's scroll owner,
|
|
759
|
+
virtualization of the source by another scroll, or recognition of a pointer
|
|
760
|
+
reorder discards the preview without emitting `onReorder` or reclaiming focus.
|
|
761
|
+
Independent nested scroll areas keep their own wheel input according to their
|
|
762
|
+
physical scroll direction, including vertical writing modes. A key event from
|
|
763
|
+
another row cannot commit the previous source's preview. An unchanged fixed
|
|
764
|
+
footer keeps its focused control and accepts its normal keyboard action after
|
|
765
|
+
rollback. If rollback recycles the key event's target, that event cannot
|
|
766
|
+
activate the newly bound row or control.
|
|
767
|
+
|
|
768
|
+
A short pointer click keeps its normal action during a keyboard preview.
|
|
769
|
+
A keyboard move or independent rollback invalidates any pending pointer
|
|
770
|
+
reorder from the previous geometry and lets a previous drop animation finish.
|
|
771
|
+
Once the pointer gesture qualifies as a reorder, it restores the original
|
|
772
|
+
order and reveals the selected row if needed. A full snapshot accepted during
|
|
773
|
+
that rollback supersedes the handoff, and the recognized gesture still
|
|
774
|
+
suppresses its release click.
|
|
775
|
+
Pointer displacement, including movement beyond the viewport edge, determines
|
|
776
|
+
movement from the restored position. A stationary long press keeps the
|
|
777
|
+
restored order.
|
|
747
778
|
|
|
748
779
|
Leading visual `borderWidth` supports values in (0, 4]. Development rejects
|
|
749
780
|
out-of-range widths; production discards the invalid width in full snapshots
|