ViewBoundContextMenu icon indicating copy to clipboard operation
ViewBoundContextMenu copied to clipboard

Divider?

Open bastiaanterhorst opened this issue 1 year ago • 4 comments

Hey nice package! I was wondering if there is a way to add a divider to the contextual menu?

bastiaanterhorst avatar Apr 11 '24 14:04 bastiaanterhorst

Also it seems that this modifier eats up other click events? I have an onTapGesture and that is being ignored now?

bastiaanterhorst avatar Apr 11 '24 15:04 bastiaanterhorst

Hey @bastiaanterhorst !

Dividers are definitely something that could be implemented. Feel free to open a PR for them, otherwise I'll take a look myself ASAP.

As per the other click events, on which platform are you seeing this happening?

MrAsterisco avatar Apr 12 '24 14:04 MrAsterisco

I'll take another look at the code to see if I can add Divider support!

The click issue is probably my own issue, since I've just created a basic example and there it works without issue. So it must be something else. I'm trying to use this pretty deep in a List structure and lists seem to be a pain in the ass in many ways :)

Thanks for your repsonse!

bastiaanterhorst avatar Apr 12 '24 16:04 bastiaanterhorst

Ah sorry to hear that 😞 SwiftUI is really unnecessary complex in these areas, to be honest.

Thank you for jumping on this issue. I will assign it to you, then! Please let me know if you're unable to work on it: I may have time next week to look into this.

MrAsterisco avatar Apr 14 '24 12:04 MrAsterisco