SwiftyContextMenu icon indicating copy to clipboard operation
SwiftyContextMenu copied to clipboard

Context menu overlaps view

Open hamzaozturk opened this issue 3 years ago • 4 comments

ContextMenu overlaps the focused view. Is this normal behavior?

Simulator Screen Shot - iPhone 11 - 2020-07-18 at 10 21 47

hamzaozturk avatar Jul 18 '20 07:07 hamzaozturk

I think you should increase the spacing parameter of the provided Layout struct. Let me know if this helps.

MarioIannotta avatar Jul 19 '20 05:07 MarioIannotta

If you increase the spacing, then it will create extra space for the small heights.

Simulator Screen Shot - iPhone 11 - 2020-07-19 at 20 20 46

hamzaozturk avatar Jul 19 '20 17:07 hamzaozturk

Oh, then this is indeed a bug. Probably the transform to scale the source view is applied after the spacing has been set.

MarioIannotta avatar Jul 20 '20 07:07 MarioIannotta

apple did it better

fukemy avatar Mar 17 '21 09:03 fukemy