Coder Social home page Coder Social logo

Comments (3)

jlev avatar jlev commented on July 25, 2024

Same problem when users land on a link from the email, the Plan component is in the wrong wrapper. Doesn't happen this way when getting the state directly through the form.

Screen Shot 2020-09-17 at 11 14 50 AM

from crush2020.

camdenlee avatar camdenlee commented on July 25, 2024

I'm not quite sure how to get to the plan page you referenced in the second comment, but I did investigate the form issue.

Interestingly enough, I can't replicate this issue on my local version, but I can replicate it on the live site. Can you check this as well?

I ran a diff of the rendered code on the live site and this is the difference. It looks like the issue is with this line of code:

<GridContainer className="form-container">

Correct layout if you navigate to the page using the button:

<div class="grid-container form-container" data-testid="gridContainer">	

On refresh, the class of form-container is missing:

<div class="grid-container" data-testid="gridContainer">

After further investigation, it looked to potentially be an issue with @trussworks/react-uswds inside this component, but upon further look, there's nothing there that necessarily looks bad either.

A simple fix might be to put <div className="form-container"> inside the <GridContainer> component. Although not sure if that would have negative side effects (either on the app or on the design system).

Let me know what you think

from crush2020.

jlev avatar jlev commented on July 25, 2024

very weird, thanks for looking. maybe something with the gatsby SSR and @trussworks/react-uswds

from crush2020.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.