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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Required field label sometimes renders asterisk on next line #4696

Open
1 task done
kellencheng-Adobe opened this issue Aug 26, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working needs jira ticket triage An issue needing triage

Comments

@kellencheng-Adobe
Copy link

kellencheng-Adobe commented Aug 26, 2024

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

sp-field-label

Expected behavior

Every time a required field is rendered, the asterisk signifying requirement should render inline with the text.

Actual behavior

Upon rendering, sometimes the asterisk on the FieldLabel renders on the next line. Has been seen on safari and safari for ipad, other browsers have not been noticed.

Screenshots

Screenshot 2024-08-22 at 1 58 27 PM

What browsers are you seeing the problem in?

Safari

How can we reproduce this issue?

  1. Render the field label with required attribute in safari
  2. May need to retry a few times for the asterisk to go to the next line

Sample code or abstract reproduction which illustrates the problem

<sp-field-label required for="id">Choose a class</sp-field-label>

Note: usage is within a flex container when discovering this issue

Severity

None

Logs taken while reproducing problem

No response

@kellencheng-Adobe kellencheng-Adobe added bug Something isn't working needs jira ticket triage An issue needing triage labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs jira ticket triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

4 participants
@kellencheng-Adobe and others