This was really straight forward fix, just handle the right click correctly and don't propagate the event, if its handled, also don't call the super class handler, since that might to other things, that are not intentional (that was the source of the bug, since the super event handler toggles the class on clicks)
Tested locally and it now works as intended 😄
Fixes #283
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
Checklist
[x] My code follows the style guidelines of this project
[x] My commits follow the commit standards of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
Pull Request Template
Description
This was really straight forward fix, just handle the right click correctly and don't propagate the event, if its handled, also don't call the super class handler, since that might to other things, that are not intentional (that was the source of the bug, since the super event handler toggles the class on clicks)
Tested locally and it now works as intended 😄
Fixes #283
Type of change
Please delete options that are not relevant.
Checklist