clarify between `onSelection` and `onSelectionEnd`