1. 15 Dec, 2023 1 commit
  2. 26 Sep, 2023 1 commit
    • Renzo Olivares's avatar
      SelectionArea long press selection overlay behavior should match native (#133967) · d81c8aa8
      Renzo Olivares authored
      During a long press, on native iOS the context menu does not show until the long press has ended. The handles are shown immediately when the long press begins. This is true for static and editable text.
      
      For static text on Android, the context menu appears when the long press is initiated, but the handles do not appear until the long press has ended. For editable text on Android, the context menu does not appear until the long press ended, and the handles also do not appear until the end.
      
      For both platforms in editable/static contexts the context menu does not show while doing a long press drag.
      
      I think the behavior where the context menu is not shown until the long press ends makes the most sense even though Android varies in this depending on the context. The user is not able to react to the context menu until the long press has ended.
      
      Other details:
      On a windows touch screen device the context menu does not show up until the long press ends in editable/static text contexts. On a long press hold it selects the word on drag start as well as popping up the selection handles (static text).
      d81c8aa8
  3. 20 Sep, 2023 1 commit
  4. 11 Aug, 2023 1 commit
  5. 28 Jun, 2023 1 commit
  6. 17 Apr, 2023 1 commit
    • chunhtai's avatar
      SelectionContainer's listeners can remove itself during listener call… (#124624) · cc9ffd3f
      chunhtai authored
      When swapping out delegate of  selectioncontainer, if the newly passed in delegate doesn't have any selectable content(which is usually the case), the selectioncontainerstate will notify all of the listeners. One of the listener would be SelectionRegistrant._updateSelectionRegistrarSubscription, and since it doesn't have content, it would remove itself from the listener which causes concurrent modification
      cc9ffd3f
  7. 13 Feb, 2023 1 commit
  8. 17 Nov, 2022 1 commit
  9. 04 Nov, 2022 1 commit
  10. 10 Oct, 2022 1 commit
  11. 24 May, 2022 1 commit