tosijs-ui 1.4.5 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/float.js CHANGED
@@ -106,6 +106,9 @@ export class TosiFloat extends WebComponent {
106
106
  },
107
107
  };
108
108
  reposition = (event) => {
109
+ if (event instanceof MouseEvent && event.button !== 0) {
110
+ return;
111
+ }
109
112
  const target = event.target;
110
113
  if (target?.closest('.no-drag')) {
111
114
  return;