Browse Source

Editor: Fix camera transform when using select in Firefox. (#26717)

Michael Herzog 1 năm trước cách đây
mục cha
commit
0dbaea7083
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      editor/js/libs/ui.js

+ 6 - 0
editor/js/libs/ui.js

@@ -357,6 +357,12 @@ class UISelect extends UIElement {
 
 		this.dom.setAttribute( 'autocomplete', 'off' );
 
+		this.dom.addEventListener( 'pointerdown', function ( event ) {
+
+			event.stopPropagation();
+
+		} );
+
 	}
 
 	setMultiple( boolean ) {