-
Notifications
You must be signed in to change notification settings - Fork 1
Review or refactor window.innerWidth usage #14
Copy link
Copy link
Open
Description
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels