forked from blackjk3/react-signature-pad
-
-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
scope: upstreamIssue in upstream dependencyIssue in upstream dependency
Description
When a signature is given that consists of multiple strokes, the strokes array returned by toData()
include the time
attribute only in the last element.
Expected: All strokes should contain time
information.
Example:
[
[
{ "x": 68.33331298828125, "y": 110.61669921875 },
{ "x": 76.33331298828125, "y": 107.61669921875 },
{ "x": 84.33331298828125, "y": 105.61669921875 },
…
],
[
{ "x": 164.33331298828125, "y": 103.61669921875 },
{ "x": 170.33331298828125, "y": 103.61669921875 },
{ "x": 176.33331298828125, "y": 102.61669921875 },
…
],
[
{ "x": 317.33331298828125, "y": 100.61669921875, "time": 1646737591539 },
{ "x": 327.33331298828125, "y": 96.61669921875, "time": 1646737591584 },
{ "x": 333.33331298828125, "y": 95.61669921875, "time": 1646737591601 },
…
]
]
Version: 1.0.5, on Firefox 97.0.2 (64-bit) ubuntu (snap)
Metadata
Metadata
Assignees
Labels
scope: upstreamIssue in upstream dependencyIssue in upstream dependency