You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the cursor between ':' and ' ' and try to scrub/nudge
Put the cursor between ' ' and '1' and try to scrub/nudge
Put the cursor between 'x' and ';' and try to scrub/nudge
Result: the first two work but the last one doesn't, which feels inconsistent.
This is because we accept positions up to 1 char off from the number itself (so if you're touching either the ' ' or the 'p'), but not positions any further out (e.g. the 'x'). The problem is that semantically the 'px' feels like it's part of the thing you're scrubbing, so it feels like the sensitivity should extend to include those chars fully.
At first glance it seems like we could just extend the 'hit area' to cover the full token which contains the number. That would work for cases like the '12px' above, but not for any of the trickier token cases that motivated 1f6584c. We may just want some semi-language-agnostic hardcoded rules, e.g. extend to include any contiguous trailing letters or an immediately trailing "%" symbol...
The text was updated successfully, but these errors were encountered:
left: 12px;
Result: the first two work but the last one doesn't, which feels inconsistent.
This is because we accept positions up to 1 char off from the number itself (so if you're touching either the ' ' or the 'p'), but not positions any further out (e.g. the 'x'). The problem is that semantically the 'px' feels like it's part of the thing you're scrubbing, so it feels like the sensitivity should extend to include those chars fully.
At first glance it seems like we could just extend the 'hit area' to cover the full token which contains the number. That would work for cases like the '12px' above, but not for any of the trickier token cases that motivated 1f6584c. We may just want some semi-language-agnostic hardcoded rules, e.g. extend to include any contiguous trailing letters or an immediately trailing "%" symbol...
The text was updated successfully, but these errors were encountered: