Bring canvas buttons to same z-index level#6235
Conversation
There was a problem hiding this comment.
Code Review
This pull request adjusts z-index values for UI components in the agentflow package to manage layering. Feedback highlights a formatting issue and a logic inconsistency in the ValidationFeedback component where the button and its associated overlay have mismatched z-indices. Furthermore, the reduction of Z_INDEX_DRAWER in the node palette impacts both the trigger and the overlay, potentially causing the drawer to be obscured by other canvas elements; it is recommended to use separate z-index values for these components.
| mt: 1.5, | ||
| width: 400, | ||
| zIndex: 1200 | ||
| zIndex: 10 |
There was a problem hiding this comment.
I believe this change is actually not necessary, since we want the button to be more visible when validate is clicked? @j-sanaa what do you think?
There was a problem hiding this comment.
I agree with this. To me it makes sense to have the validation panel visible on top of other UI elements when clicked

Bring canvas buttons to z-index 10 so that they do not show over top containers using embedded canvas