Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unexpected drop shadow darkening upon selection with interactive Group #10108

Open
asturur opened this issue Aug 29, 2024 Discussed in #10107 · 0 comments
Open

[Bug] Unexpected drop shadow darkening upon selection with interactive Group #10108

asturur opened this issue Aug 29, 2024 Discussed in #10107 · 0 comments

Comments

@asturur
Copy link
Member

asturur commented Aug 29, 2024

Discussed in #10107

Originally posted by drinkspiller August 29, 2024
I have a Group nested within another Group. The main group is added to the Fabric canvas. In order for the inner group to fire 'scaling' events, the outer group needs to set {subTargetCheck: true, interactive: true}

Strangely, the addition of {subTargetCheck: true, interactive: true} to the outer group has the unexpected side effect of the inner group's drop shadow becoming darker when its parent group is selected. You can see what I mean in this demo:

https://codepen.io/drinkspiller/pen/eYwjbjp?editors=1011

When the card is selected, the drop shadow gets darker. If {subTargetCheck: true, interactive: true} is commented out, the drop shadow no longer gets darker when the card is selected, but the 'resizing' handler stops firing. Is there a configuration change that can be made to correct this darker drop shadow upon selection or is this perhaps a bug? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant