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
This issue was fixed by creating the rowCanBeSelected prop along with the isSelected created to solve #74. The rowCanBeSelected prop is used in conjunction with isSelected in a ternary operation that is true only if the value of both are true. rowCanBeSelected's value is then set in the App.js file based on the state variable sidebarOpen. This variable's state is changed to true when an item is selected and false when it is closed which allows us to use it to also determine a rows styling based on if an item is open.
What Happened
Currently when an ItemView is closed the item that was selected keeps its styling.
ItemTable after an item has been selected and then the ItemView closed:

Expected Behavior
When an ItemView is closed the selected styling of an item should be removed
Steps to Reproduce
1.Open an item in ItemTable
2.Close the ItemView using the ItemViewAppBar
3.See that the item selected still has selected row styling
Logs
N/A
The text was updated successfully, but these errors were encountered: