DEV Community

Discussion on: How to create a custom context menu for your web application

Collapse
 
nexthazard profile image
Jared Richards • Edited

Any Advice to not make the ContextMenu not deform the Page such as Crating a Space over all content so when right clicking the page does not get deformed or not expand (Scrollbars.

Awesome Tut Thx :)

Collapse
 
iamafro profile image
Richard Umoffia

To achieve that Jared, you'll have to set the menu's position to fixed or absolute. I just realised I had set it to relative in the tut. Setting the position to fixed or absolute should solve that. I'm glad you enjoyed the article. Thanks  😇

Collapse
 
humoyun profile image
Humoyun Ahmad

Exactly!