Skip to content

Review or refactor window.innerWidth usage #14

@BrettEastman

Description

@BrettEastman

I need to review the use of window.innerWidth. This was originally addressed by Alex in the following quote: "As I mentioned in my PR for Carousel Cards, because you are using width that you get from window.innerWidth, if you try to resize the window, the change is not picked up by Careers section and you need to refresh the page to trigger a rerender that will position the box correctly. Additionally, when the page loads for the first time, for a split second you can see how the layout is wonky both for Machine and Careers section. I believe that this is also caused by the initial width = 0 "

Originally posted by @alibacova in #13 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions