-
Notifications
You must be signed in to change notification settings - Fork 82
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
Selected elements get lost when using scroll bars #302
Comments
@aurelio-pennacchio
It is not a configuration issue. From what I see in the codebase it is expected behavior. Viewport scroll bar elements are not a part of the sprotty root model, hence when clicking on them, Selection Listener handles selection on the next registered parent element (sprotty root). Possible solutions could be:
|
Scroll the viewport using alt+wheel #339
Scroll the viewport using alt+wheel #339
Fixed in master |
I activated the GLSPProjectionView in the di-config.ts file using the following line of code
configureModelElement(context, DefaultTypes.GRAPH, GLSPGraph, GLSPProjectionView);
Now when I have an active selection of a node of the GGraph and then I use the scrollBars I lose the selection while I was expecting to mantain the previously selected elements.
Is it a configuration issue from my side or something else?
Thank you for all your work!
The text was updated successfully, but these errors were encountered: