{
+ // Modal scroll locks treat this body-level portal as outside the
+ // dialog. Keep wheel input on the menu so the lock cannot cancel it.
+ event.stopPropagation();
+ }}
+ onTouchMove={(event) => {
+ // Let the touched option observe movement first, then keep the
+ // native event from reaching a modal's document-level scroll lock.
+ event.stopPropagation();
+ }}
>
{filteredMentions.map((option, i) => (