Replies: 3 comments 3 replies
-
Projects I work on do the same |
Beta Was this translation helpful? Give feedback.
-
This is why preserveObjectStacking is there. You have a selection created event, uses that that to switch the behaviour on and off when text is selected. In this way i feel like is already part of fabricJS behaviour because is possible with the api. |
Beta Was this translation helpful? Give feedback.
-
I definitely tried that but it didn't work for me at the time. Something weird going on in my app because it does work (as you suggested) on a vanilla install of FabricJS. Next question is: Should it perhaps be a default that editing text is brought forward regardless of preserveObjectStacking flag? |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
What do you think about bringing a text object forward if it's behind other objects and preserveObjectStacking is true?
I've just done this in my own code but wondered if it should be in FabricJS as standard practice.
I could code something up if you need me to?
What we thinking?
Beta Was this translation helpful? Give feedback.
All reactions