sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Cursor at incorrect position in alert rule filters

Open taobojlen opened this issue 1 year ago • 5 comments

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Create an alert rule, or go to edit an existing one.
  2. Enter a lot of filters, such that you have more than 2 rows.
  3. Try to click somewhere on the third row: it looks like the cursor gets placed on the second row, but when you enter new text, it is written to the third row.

Expected Result

The cursor is at the correct position.

Actual Result

https://github.com/getsentry/sentry/assets/66130243/40f83149-297c-4b73-8abe-83c1fda964ec

Product Area

Alerts

Link

No response

DSN

No response

Version

No response

taobojlen avatar Mar 13 '24 09:03 taobojlen

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Mar 13 '24 09:03 getsantry[bot]

Routing to @getsentry/product-owners-alerts for triage ⏲️

getsantry[bot] avatar Mar 14 '24 17:03 getsantry[bot]

Hey @taobojlen

Could you actually record a video starting from an empty textarea?

What would be even more helpful is if you could also turn the text color on for the texta area in the developer tools like this, so we can see why the text is becoming misaligned with the overlaying DOM elements:

image

evanpurkhiser avatar Mar 18 '24 19:03 evanpurkhiser

hi @evanpurkhiser, i just opened the same alert to record this for you, but i can't actually reproduce the issue now! it works as expected now so i'll close this ticket.

taobojlen avatar Mar 27 '24 13:03 taobojlen

we've gotten another report of this

opening this ticket back up

nhsiehgit avatar May 06 '24 17:05 nhsiehgit