-
Notifications
You must be signed in to change notification settings - Fork 247
Description
Thank you for your work proposing the FormControlRange. It will be very useful.
Just one note on the "Option 1" existing approach to handling this use case. We develop a Chrome Extension that uses this technique to highlight errors in text. Unfortunately, it is very difficult to get it working fully correctly. One issue where there is no good solution is keeping styles synced between the underlying element and the overlay. There is a discussion about adding such a capability (w3c/csswg-drafts#8982), but currently there isn't a good solution to consistently update the overlay styles to match the computer target element styles.
Another issue is that you can run into some visually noticeable lag when doing actions like scrolling the field where the overlay may lag slightly behind the underlying field.
It may be worth noting in the proposal that these existing options are insufficient in cases like this and that a feature like FormControlRange is needed to address them.