Skip to content

How to Disable Area Selection Outside of an Object's ClipPath in Fabric.js? #10147

Answered by asturur
turnbrain asked this question in Q&A
Discussion options

You must be logged in to vote

As of today and for the near future the only solution you have is to wrap the object in a group with the clip layout manager and assign the clipPath to the group.

The selection itself it wouln't be an hard fix but all the interaction like scaling could be a pain to make work properly out of the box

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@diegosystem32
Comment options

Answer selected by turnbrain
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants