Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match highlighting often misaligns on iOS #2339

Open
Calorion opened this issue Aug 27, 2024 · 6 comments
Open

Match highlighting often misaligns on iOS #2339

Calorion opened this issue Aug 27, 2024 · 6 comments
Labels

Comments

@Calorion
Copy link

Calorion commented Aug 27, 2024

Bug Description

When I am viewing or editing expressions on iOS, the highlights often misalign (see image below, from https://regex101.com/r/5m51B3/4).

image

Reproduction steps

None; just occurs intermittently but frequently. Seems to be more common the more text there is in the text string, or perhaps with more complex expressions.

Often switching flavors will remedy the problem, but sometimes it sticks until it fixes itself for some reason.

Expected Outcome

Highlights appear over correct text

Browser

Safari

OS

iPadOS 17.6.1

@Calorion Calorion added the bug label Aug 27, 2024
Repository owner deleted a comment Aug 27, 2024
Repository owner deleted a comment Aug 27, 2024
Repository owner deleted a comment Aug 27, 2024
@Calorion
Copy link
Author

Any good workarounds for this? It's getting really frustrating.

@firasdib
Copy link
Owner

Could you elaborate more on when this happens? Is it when you enter a line break? When the regex input breaks into a newline? Or just randomly while typing in your test string?

@Calorion
Copy link
Author

It generally happens when I first load a page. If it changes, it's usually to fix it.

@Calorion
Copy link
Author

Calorion commented Sep 4, 2024

It just happened when I edited the test string.

@firasdib
Copy link
Owner

Okay, that's surprising. I'll have to investigate this closer.

@Candorada
Copy link

this happens to me when my keyboard is open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants
@firasdib @Calorion @Candorada and others