Extended to v3.1 components the ignoring of middle and right button for generic click events
Merge pull request #2738 from pjackson28/middlerightbuttonfixes

Extended to v3.1 components the ignoring of middle and right button for generic click events