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

Did not monitor the selection update #34

Open
nooooooom opened this issue Jun 10, 2021 · 0 comments
Open

Did not monitor the selection update #34

nooooooom opened this issue Jun 10, 2021 · 0 comments

Comments

@nooooooom
Copy link

I found that when the selection is updated (change from one selection to another, rather than unselected to selected), the property panel on the right is not updated, which will cause the canvas's property settings to fail to achieve the expected effect. After reading the source code, I learned that Fabric.js does not divide the selection update event into two events (selection clear and selection creation), but sends (selection:updated) event to notify the developer that the selection has changed , So just listening (selection:cleared and object:selected) should not be enough.

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