# Fix composer mention cursor handling and trigger detection · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/c378afeff852c06d7a558c4842ae9033b3775627)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: c378afeff852c06d7a558c4842ae9033b3775627

Requested commit: c378afeff852c06d7a558c4842ae9033b3775627

Commit: c378afeff852c06d7a558c4842ae9033b3775627

Tree: 2ea73637dfd6b279841b6c3e3a2b597b7c71323c

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix composer mention cursor handling and trigger detection

- Treat mention pills as atomic cursor units in Lexical selection math
- Add left/right arrow + selection normalization behavior around mention nodes
- Expand collapsed mention cursor before trigger detection so @path menu closes correctly
- Update mention pill rendering for non-editable, non-selectable chips and theme-aware icons
- Add tests for collapsed-to-expanded cursor mapping and trigger behavior

```

## Parents

- [bf7002209e6663d6c208c6dd0546277582077aea](https://git.cafe/screen/t3code-personal/commit/bf7002209e6663d6c208c6dd0546277582077aea?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/c378afeff852c06d7a558c4842ae9033b3775627?format=markdown)
