question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CSS form label issue]

See original GitHub issue

After updating tss-react from v3.7.1 to v4.0.0, the Form labels are changed and lost CSS, they have covered text fields

<FormControl
      fullWidth={props.fullWidth}
      required={props.required}
    >
        <InputLabel
          error={props.error}
          htmlFor={props.htmlFor}
          required={props.required}
        >
          <Typography fontSize={14} fontWeight="400" component="span">
            {props.label}
          </Typography>
        </InputLabel>
        {textField}
</FormControl>

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:39 (18 by maintainers)

github_iconTop GitHub Comments

3reactions
garronejcommented, Sep 27, 2022

Hi @ivan-romanchuk-axon and @jano-gazashvili-axon this should be fixed in @mui/material 5.10.7.
Can you confirm?
Reopen if it’s not the case!

Best regards,

1reaction
ivan-romanchuk-axoncommented, Oct 7, 2022

Hello @garronej!

I updated a sandbox for reproducing issue with Select components. Now I chose tss-react version 3.7.1, you can see all styles apply well. Then change a version to an actual one, and you will see that styles are broken

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML Inputs and Labels: A Love Story | CSS-Tricks
There are two ways to pair a label and an input. One is by wrapping the input in a label (implicit), and the...
Read more >
CSS for Labels, Buttons and Form Interactions - HTML Goodies
This fourth part in a web development tutorial focuses on how to create and style form labels and buttons in CSS. Learn more....
Read more >
CSS label element in in form won't display properly
The final issue is that#aform label appears on the right of the inputs, thanks for your help again. That looks like the final...
Read more >
The Label element - HTML: HyperText Markup Language | MDN
If the label's text needs to be adjusted visually, use CSS classes applied to the <label> element instead. If a form, or a...
Read more >
Help with Form CSS / Troubleshooting (labels)
I'm trying to help one of our designers with Form troubleshooting. Field labels should align left above the fields.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found