Skip to content

[FormControlRange] A Note on Existing Options #1104

@scblaze

Description

@scblaze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormControlRangeFeedback about the FormControlRange proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions