When exactly is `selectionSet` true?

When I change the selection with the cursor or keyboard it’s not true but that’s exactly when the docs suggest to me it should signal.

Does it only signal programmatic changes? I think changing the wording in the docs from “explicitly” to “programmatically” would be helpful in that case.

https://prosemirror.net/docs/ref/#state.Transaction.selectionSet

It should also be true for transactions generated by mouse/keyboard cursor motion (and it is, when I test it).

1 Like

I confirm seeing that behavior now. No clue why I wasn’t yesterday.