Skip to content

Press Events

Maciej Jastrzebski edited this page Oct 25, 2024 · 7 revisions

TextInput

iOS

Short press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 152.3333282470703, "locationY": 16.666661580403627, "pageX": 192.3333282470703, "pageY": 154.3333282470703, "target": 127, "timestamp": 23843430.815791667, "touches": [[Circular]]}
  • [14ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 152.3333282470703, "locationY": 16.666661580403627, "pageX": 192.3333282470703, "pageY": 154.3333282470703, "target": 127, "timestamp": 23843445.660291664, "touches": []}
  • [116ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 152.3333282470703, "locationY": 16.666661580403627, "pageX": 192.3333282470703, "pageY": 154.3333282470703, "target": 127, "timestamp": 23843445.660291664, "touches": []}

Normal press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 81, "locationY": 7.999989827473939, "pageX": 121, "pageY": 145.66665649414062, "target": 127, "timestamp": 23873837.50375, "touches": [[Circular]]}
  • [206ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 81, "locationY": 7.999989827473939, "pageX": 121, "pageY": 145.66665649414062, "target": 127, "timestamp": 23874041.072249997, "touches": []}
  • [0ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 81, "locationY": 7.999989827473939, "pageX": 121, "pageY": 145.66665649414062, "target": 127, "timestamp": 23874041.072249997, "touches": []}

Long press (not supported)

  • [4363ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 45, "locationY": 26.99998982747394, "pageX": 85, "pageY": 164.66665649414062, "target": 127, "timestamp": 23910640.12516667, "touches": [[Circular]]}
  • [745ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 45, "locationY": 26.99998982747394, "pageX": 85, "pageY": 164.66665649414062, "target": 127, "timestamp": 23911388.948875, "touches": []}
  • [0ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 45, "locationY": 26.99998982747394, "pageX": 85, "pageY": 164.66665649414062, "target": 127, "timestamp": 23911388.948875, "touches": []}

Android

Short press

  • [0ms] Event: pressIn
  • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 62.8444938659668, "locationY": 17.137277603149414, "pageX": 102.84449768066406, "pageY": 137.1372833251953, "target": 105, "targetSurface": -1, "timestamp": 145870664, "touches": [[Circular]]}
  • [41ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 62.8444938659668, "locationY": 17.137277603149414, "pageX": 102.84449768066406, "pageY": 137.1372833251953, "target": 105, "targetSurface": -1, "timestamp": 145870723, "touches": []}
  • [99ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 62.8444938659668, "locationY": 17.137277603149414, "pageX": 102.84449768066406, "pageY": 137.1372833251953, "target": 105, "targetSurface": -1, "timestamp": 145870723, "touches": []}

Normal press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 59.41703796386719, "locationY": 18.28125, "pageX": 99.41703796386719, "pageY": 138.28125, "target": 105, "targetSurface": -1, "timestamp": 145933530, "touches": [[Circular]]}
  • [221ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 59.41703796386719, "locationY": 18.28125, "pageX": 99.41703796386719, "pageY": 138.28125, "target": 105, "targetSurface": -1, "timestamp": 145933763, "touches": []}
  • [0ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 59.41703796386719, "locationY": 18.28125, "pageX": 99.41703796386719, "pageY": 138.28125, "target": 105, "targetSurface": -1, "timestamp": 145933763, "touches": []}

Text

iOS

Short press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 21.333328247070312, "locationY": 14.333325703938783, "pageX": 41.33332824707031, "pageY": 251.66665649414062, "target": 135, "timestamp": 23977229.369, "touches": [[Circular]]}
  • [63ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 21, "locationY": 14.333325703938783, "pageX": 41, "pageY": 251.66665649414062, "target": 135, "timestamp": 23977290.860875, "touches": []}
  • [75ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 21, "locationY": 14.333325703938783, "pageX": 41, "pageY": 251.66665649414062, "target": 135, "timestamp": 23977290.860875, "touches": []}

Normal press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 67, "locationY": 4.333325703938783, "pageX": 87, "pageY": 241.66665649414062, "target": 135, "timestamp": 24032501.313375, "touches": [[Circular]]}
  • [195ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 67, "locationY": 4.333325703938783, "pageX": 87, "pageY": 241.66665649414062, "target": 135, "timestamp": 24032702.894875, "touches": []}
  • [0ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 67, "locationY": 4.333325703938783, "pageX": 87, "pageY": 241.66665649414062, "target": 135, "timestamp": 24032702.894875, "touches": []}

Long press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 72.66665649414062, "locationY": 13.333325703938783, "pageX": 92.66665649414062, "pageY": 250.66665649414062, "target": 135, "timestamp": 24058031.094291665, "touches": [[Circular]]}
  • [516ms] Event: longPress
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 72.66665649414062, "locationY": 13.333325703938783, "pageX": 92.66665649414062, "pageY": 250.66665649414062, "target": 135, "timestamp": 24058031.094291665, "touches": [[Circular]]}
  • [1149ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 1, "locationX": 72.66665649414062, "locationY": 13.333325703938783, "pageX": 92.66665649414062, "pageY": 250.66665649414062, "target": 135, "timestamp": 24059695.647, "touches": []}

Android

Normal press

  • [0ms] Event: pressIn
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 32.75743865966797, "locationY": 7.605282783508301, "pageX": 52.94791793823242, "pageY": 233.51004028320312, "target": 113, "targetSurface": -1, "timestamp": 145997852, "touches": [[Circular]]}
  • [321ms] Event: pressOut
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 32.75743865966797, "locationY": 7.605282783508301, "pageX": 52.94791793823242, "pageY": 233.51004028320312, "target": 113, "targetSurface": -1, "timestamp": 145998163, "touches": []}
  • [0ms] Event: press
    • {"changedTouches": [[Circular]], "identifier": 0, "locationX": 32.75743865966797, "locationY": 7.605282783508301, "pageX": 52.94791793823242, "pageY": 233.51004028320312, "target": 113, "targetSurface": -1, "timestamp": 145998163, "touches": []}