Skip to content

iOS: text selection after input confirmation inside parentheses #1443

@ina-yuzen

Description

@ina-yuzen

Describe the issue

When using iOS, if the cursor is placed inside parentheses and a character with composition is entered just before the closing parenthesis, upon confirming the input, the entered character becomes selected. As a result, when typing the next character, the previously entered text gets deleted.

RPReplay_Final1726839505.mov

This seems to happen when bracketMatching extension is enabled.

Browser and platform

iPad Pro 3rd gen, iOS 16.6, Safari/Chrome 129.0.6668.46

Reproduction link

https://codemirror.net/try/?c=aW1wb3J0IHtiYXNpY1NldHVwLCBFZGl0b3JWaWV3fSBmcm9tICJjb2RlbWlycm9yIgppbXBvcnQge2JyYWNrZXRNYXRjaGluZ30gZnJvbSAiQGNvZGVtaXJyb3IvbGFuZ3VhZ2UiCgppbXBvcnQge2phdmFzY3JpcHR9IGZyb20gIkBjb2RlbWlycm9yL2xhbmctamF2YXNjcmlwdCIKCm5ldyBFZGl0b3JWaWV3KHsKICBkb2M6ICIoKVxuIiwKICBleHRlbnNpb25zOiBbYnJhY2tldE1hdGNoaW5nKCldLAogIHBhcmVudDogZG9jdW1lbnQuYm9keQp9KQo=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions