Closed rishabhrathod01 closed 6 months ago
I would like to pick up this issue
Greetings @Sarthakagarwal22, thanks for showing interest 🎉 , This is all your. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days.
Also, please don't forget to register with Appsmith's Hacktoberfest Community in order to be eligible for Appsmith swag.
@somangshu
Does this look like a valid solution
@jsartisan need you to check this out
@Sarthakagarwal22 the valid solution for this is to use the portal to render the context menu. The reason why this is happening is that the context menu is rendering in the same container.
@jsartisan I would need some help here. I tried using the portal, but I couldn't understand the flow to be honest. A basic approach that I took was, added a css property, which made it work in form. Can we pair up somehow to solve this?
Yes. Let's have a call tomorrow? Anytime between 10-7.
11am would be fine by me.
@Sarthakagarwal22 Can you come on discord?
Hey @somangshu I am sorry, I dont think, I would be able to give time to this. I thought it was easier, hence I picked it, but looks like its a bigger task.
@jsartisan @Rishabh-Rathod I'd like to take this up! Should be fun working with React Portals for once. 😏
Greetings @vividh , thanks for showing interest 🎉 , This is all yours. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Would appreciate it if you can open a PR within the next 4 days.
Hi, I would like to work on this issue @somangshu ? @jsartisan just to be clear what do you mean by portal is it the portion shown in image
Greetings @digant2482, thanks for showing interest 🎉 , This is all your. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Would appreciate it if you can open a PR within the next 2 days and LMK here.
@jsartisan, hi just wanted to clarify if
If this is the area, shown in image where we want context menu ?
@digant2482 No no, sorry. You misunderstood the solution. Currently the context menu is rendering in a container that has overflow hidden. We need to use portal ( https://react.dev/reference/react-dom/createPortal / https://www.radix-ui.com/primitives/docs/utilities/portal ) to make sure the context menu is rendered outside of it with proper position.
Seems to be working
Description
[What happened]
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots
Important Details