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

fix(form): fix rerender issue with helpertext on safari #6394

Merged

Conversation

tw15egan
Copy link
Collaborator

@tw15egan tw15egan commented Jul 6, 2020

Closes #6392

Safari was not redrawing when the error message was removed. Setting the helper text to width: 100% seems to resolve the issue as the invalid text will be rendered behind the helper text

Changelog

New

  • width: 100% to form helper text

Testing / Reviewing

Ensure form components still render correctly

@tw15egan tw15egan requested a review from a team as a code owner July 6, 2020 19:57
@ghost ghost requested review from aledavila and joshblack July 6, 2020 19:57
@netlify
Copy link

netlify bot commented Jul 6, 2020

Deploy preview for carbon-elements ready!

Built with commit 3bce861

https://deploy-preview-6394--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jul 6, 2020

Deploy preview for carbon-components-react ready!

Built with commit 24fb81a

https://deploy-preview-6394--carbon-components-react.netlify.app

@netlify
Copy link

netlify bot commented Jul 6, 2020

Deploy preview for carbon-components-react ready!

Built with commit f2549e2

https://deploy-preview-6394--carbon-components-react.netlify.app

@netlify
Copy link

netlify bot commented Jul 6, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 3bce861

https://deploy-preview-6394--carbon-components-react.netlify.app

@joshblack
Copy link
Contributor

@tw15egan mind leaving a comment above the width: 100% block noting what you found? Would hate for it to be removed accidentally in the future 🤦

@tw15egan tw15egan force-pushed the safari-helper-text-fix branch from 326de7f to 7042001 Compare July 7, 2020 22:18
Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kodiakhq kodiakhq bot merged commit 066cec2 into carbon-design-system:master Jul 9, 2020
@tw15egan tw15egan deleted the safari-helper-text-fix branch April 28, 2021 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TextArea Component error text is not removed when error is fixed
3 participants