guides icon indicating copy to clipboard operation
guides copied to clipboard

Feature: lockGuides prop for locking changes

Open drumnation opened this issue 4 years ago • 1 comments

Environments

  • Framework name: react-guides

Description

using e.stop() is still letting click events change state when hovering over a guide.

Just like how there is a showGuides prop for toggling guides, it would be great if there were a lockGuides prop for toggling locking the guides.

Will be adding to my fork in the future.

drumnation avatar Feb 18 '21 22:02 drumnation

@drumnation react-guides 0.13.0 is released.

lockGuides prop is added.

<Guides lockGuides={["add", "remove", "change"]} />

daybrush avatar Feb 27 '21 16:02 daybrush