aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Do not autofocus the AddComponent select field when first mounted #407

Closed jsantell closed 7 years ago

jsantell commented 7 years ago

When the AddComponent view is first mounted (when selecting an entity when there was no previously selected entity), its Select component takes focus, causing any attempted hotkey usage to enter in the Select component. Most likely necessary for any fixes for #406. Often when selecting an entity I'm more likely to transform than add a component -- but others may have different use cases in which this is needed, in which case, please close!