Ctrl+Click on Mac trackpad not interpreted as Right Click
In my code and on the treeview-dragdrop example on your website I am unable to see the context menu on the subfolders in the sandbox treeview when using a Mac laptop.
Trying to right click on a Mac laptop using the Ctrl + Click method. It seems WMouseEvent(event.button()) comes back as WMouseEvent::LeftButton rather than WMouseEvent::RightButton on both Safari and Chrome.
This issue does not seem to exist in Firefox.
Additionally, the item in the model is unselected.
In my code I've tried to combined both (event.button() WMouseEvent::LeftButton && event.modifiers() Wt::ControlModifier) to work around the problem for Mac but the issue still remains that my selected item is being unselected.
Any ideas how to get around this? It's important that my selected item remains selected after the right click happens.
thanks in advance,
No data to display