You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@elmisback I've spent some time diagnosing this, but I need to move on to doing something else right this minute (and maybe won't get back to it tonight), but I thought I'd put my diagnosis out there in case that helps you knock it out if you'd like to right now.
This issue seems to be a state bug with this line/area
The setMySpecRanges that happens just below this is, of course, not instantaneous. So here when we iterate over the variables and add a new SpecRange for multiple new variables, mySpecRanges holds it's non-updated value on each iteration, so only the last addition actually sticks and gets reflected in the setMySpecRanges update.
Thanks for isolating this to paste--basically the issue was that initialization isn't handled properly. I added a useEffect that initializes uninitialized ranges whenever new variables are detected.
All range input areas (except the last) are missing after pasting an input into the spec input area
If you type especially quickly or paste in just part of the input, sometimes areas other than the last are missing also.
The text was updated successfully, but these errors were encountered: