In my application I am switching between selectMode 1 and 3, based on what user has set the options.
When I'm in selectMode 3, I choose some nodes. Then I switch to selectMode 2. If I try to unselect a node now, it will not be unselected and gets filled (see the screenshot) until I refresh the page:
After I refresh the page it work as it should.
I there is a way to fix this. Thanks in advance