Need Popup Screen when we click icon in Interface

Certified Senior Developer

Hi Team, When I click the chevron up icon in the header, a grid should appear below the icon like a pop-up screen similar to the screen shot attached.

1) I have tried to create similar to the popup by using card layout. In card layout I'm showing the grid, when I click on the icon, the card height increases too much, causing the content move down.

2)I also tried using record action, but the pop-up screen appears in the middle of the screen.

Could you please guide me how to achieve this

  Discussion posts and replies are publicly visible