salah-rashad / flutter_context_menu

Create and display a customizable context menus in your app.
BSD 3-Clause "New" or "Revised" License
21 stars 7 forks source link

[BUG] There is no restriction on creating instances of context menu #15

Open ammar629 opened 2 months ago

ammar629 commented 2 months ago

Calling showContextMenu doesn't focus on the existing context menu instance, instead this results in the creation of more instances that keep stacking on top of each other. How can I limit this to only one instance at a time?