Three.js: Editor: Expanded menu bar options don鈥檛 minimise when you click in the 3D viewport on mobile

Created on 2 Sep 2020  路  8Comments  路  Source: mrdoob/three.js

Description of the problem

The expanded menu bar options don鈥檛 minimise when you click in the 3D viewport. They only minimise when you click somewhere in the Scene/Project/Settings tab or in an empty space in the menu bar.

Three.js version
  • [ ] Dev
  • [ ] r120
  • [ ] ...
  • [x] Editor
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [] All of them
  • [ ] Windows
  • [ ] macOS
  • [ ] Linux
  • [x] Android
  • [ ] iOS
Editor Regression

All 8 comments

It seems this broke with r120. It worked with r119:

https://rawcdn.githack.com/mrdoob/three.js/r119/editor/index.html

@GamerWael Can you confirm, please?

It seems this is a side effect from having the following line in TransformControls:

domElement.style.touchAction = 'none';

Removing it restores the previous behavior. However, this code is required in a different context.

Can confirm it works with r119

Works like a charm! 馃槉

Yup!

Sweet! Will push to gh-pages too.

Pushed, should be live in a few minutes.
Thanks for reporting! 馃檹

Was this page helpful?
0 / 5 - 0 ratings