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
when deleting elements from an array, if you start with any other element instead of the first one and reach the first one, the styles of the component are not updated after deleting the first one. Here is a quick example https://codesandbox.io/p/sandbox/pensive-snow-h9lv38 ?file=%2Fsrc%2Findex.tsx%3A8%2C12
To Reproduce
click delete => the first item will be active
click delete again => there isn't active item, all items have display:none style
Expected Behaviour
on the second step I expect to see the next active element, after deleting the first element