So I have a table of the size of the most of the viewport as the center stage. When clicking on the row of the table, it opens up a drawer from the right side as an overlay (with the help of Overlay prototyping). While this is being done, the row which opened the drawer is higlighted. Now I want to use the funtion “Close when clicking outside” and it should go back to the normal table view. However, the problem is, it goes back but to the highlighted row table.
So the flow is like this,
- normal table view,
- mouse on the row (highlighted),
- clicked on the row to open the drawer related to it (row is here highlighted),
- when clicked outside of the drawer
- goes back to just row highlighted which is part of 3, instead it should go to 1
how to do that? Please help me.