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

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": []}
Clone this wiki locally