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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add className attribute to status component #620

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

romaricpascal
Copy link
Member

@romaricpascal romaricpascal commented Jan 12, 2024

The status component is currently hidden from view using inline CSS, however in an implementation that applies aggressive CSP controls these styles cannot be applied, and since the status element has minimal other identifying attributes, it is difficult to apply corresponding styles in .css files.

Apply a class attribute to the status component - defaulting to autocomplete__status so that it can be reliably targeted by CSS selectors.

Originally posted by @lennym in #453

Rebases and re-builds dist as I didn't manage to push to the contributor's branch 馃様 .

lennym and others added 2 commits January 12, 2024 11:34
The status component is currently hidden from view using inline CSS, however in an implementation that applies aggressive CSP controls these styles cannot be applied, and since the status element has minimal other identifying attributes, it is difficult to apply corresponding styles in .css files.

Apply a class attribute to the status component - defaulting to `autocomplete__status` so that it can be reliably targeted by CSS selectors.
@romaricpascal romaricpascal added this to the Next milestone Jan 12, 2024
@romaricpascal romaricpascal merged commit 180c230 into main Jan 12, 2024
3 checks passed
@romaricpascal romaricpascal deleted the rpa-improvement/status-classname branch January 12, 2024 16:17
@romaricpascal romaricpascal mentioned this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants