Renzo Olivares
21ad7122a1
Implement SelectionArea single click/tap gestures ( #132682 )
...
This change collapses the selection at the clicked/tapped location on single click down for desktop platforms, and on single click/tap up for mobile platforms to match native.
This is a change from how `SelectionArea` previously worked. Before this change a single click down would clear the selection. From observing a native browser it looks like when tapping on static text the selection is not cleared but collapsed. A user can still attain the selection from static text using the `window.getSelection` API.
https://jsfiddle.net/juepasn3/11/ You can try this demo out here to observe this behavior yourself. When clicking on static text the selection will change.
This change also allows `Paragraph.selections` to return selections that are collapsed. This for testing purposes to confirm where the selection has been collapsed.
Partially fixes : #129583
2023-09-28 01:42:16 +00:00
..
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-31 10:19:13 -07:00
2023-08-14 10:05:20 -07:00
2023-08-31 10:19:13 -07:00
2023-08-22 15:50:48 +00:00
2023-08-14 10:05:20 -07:00
2023-09-18 20:31:54 -07:00
2023-08-31 10:19:13 -07:00
2023-08-22 15:50:48 +00:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-12 18:52:41 -07:00
2023-09-11 09:42:27 -07:00
2023-08-31 10:19:13 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-11 09:42:27 -07:00
2023-09-18 13:45:38 -07:00
2023-08-14 10:05:20 -07:00
2023-09-01 08:53:53 -07:00
2023-09-01 08:53:53 -07:00
2023-09-05 13:45:12 -07:00
2023-09-01 08:53:53 -07:00
2023-09-22 13:44:04 -07:00
2023-09-07 07:58:00 +00:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-06 11:00:56 -07:00
2023-09-07 08:55:53 +00:00
2023-08-14 10:05:20 -07:00
2023-09-15 08:55:50 -07:00
2023-08-30 21:16:13 +00:00
2023-09-06 20:10:56 +00:00
2023-09-01 08:53:53 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-07 23:59:58 +00:00
2023-09-05 13:45:12 -07:00
2023-09-01 08:53:53 -07:00
2023-09-01 08:53:53 -07:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-21 05:54:19 +00:00
2023-09-22 07:34:06 +00:00
2023-09-11 09:42:27 -07:00
2023-08-10 00:30:52 +00:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-07 21:55:32 +00:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-18 13:44:55 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-08-22 20:47:05 +00:00
2023-09-11 09:42:27 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-12 09:18:40 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-21 17:37:07 +00:00
2023-08-14 10:05:20 -07:00
2023-09-11 09:42:27 -07:00
2023-08-17 23:36:11 +00:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-09-21 10:06:21 -07:00
2023-09-15 12:53:51 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-22 08:03:02 +00:00
2023-09-05 13:45:12 -07:00
2023-09-15 15:15:06 +00:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-09-22 15:27:05 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-09-11 09:42:27 -07:00
2023-09-20 19:59:08 +00:00
2023-08-14 10:05:20 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-09-14 18:29:18 +00:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-07 17:50:45 -07:00
2023-08-31 08:52:06 -07:00
2023-09-27 17:02:17 +00:00
2023-09-11 09:42:27 -07:00
2023-09-07 11:13:55 -07:00
2023-08-14 10:05:20 -07:00
2023-09-11 09:42:27 -07:00
2023-09-11 09:42:27 -07:00
2023-09-28 01:42:16 +00:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-18 13:44:55 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:41:10 -07:00
2023-09-05 13:41:10 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-09-07 09:19:05 +00:00
2023-09-22 15:27:05 -07:00
2023-09-07 17:50:45 -07:00
2023-09-12 18:09:26 -05:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-08 22:01:50 +00:00
2023-09-11 09:42:27 -07:00
2023-09-21 05:54:19 +00:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-08-28 22:27:39 +00:00
2023-08-25 15:13:42 -05:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-09-11 09:42:27 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-08-14 10:05:20 -07:00
2023-09-05 13:45:12 -07:00
2023-09-05 13:45:12 -07:00