p5.js-web-editor/client/modules/IDE/components
Marton Soos 3bf3fe1452 Fix multiple file options showing up (#987) (#988)
* Fix multiple file options showing up (#987)

This change ensures that the file options composite widget is
hidden if and only if none of its components is in focus. This
is achieved by having a variable keep track of the state of
the composite widget (in focus / not in focus).

* Fix #987

Modified fix for #987 according to the requested changes.
Moved isFocused to the components state and created a method
for hadling the function calls executed in onBlur.

* Fix #987 - final touches

Renamed method blurComponent to onBlurComponent. Moved duplicated
code from onFocus callback to a new method called onFocusComponent.
2019-03-27 15:52:57 -04:00
..
About.jsx fix #671, change forum url 2018-08-20 12:26:21 -04:00
AssetList.jsx Remove authorization from specific routes (#642) 2018-05-29 21:37:10 -07:00
Console.jsx Revert "Revert "for #761, fix linting errors"" 2018-11-15 16:41:10 -05:00
CopyableInput.jsx fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
Editor.jsx Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
EditorAccessibility.jsx fix remaining linting errors 2018-05-08 19:16:05 -07:00
ErrorModal.jsx Fixes #515 Update React to 16 and other dependencies (#519) 2018-02-07 13:06:07 -05:00
Feedback.jsx update eslint and fix linting errors 2018-05-08 19:16:04 -07:00
FileNode.jsx Fix multiple file options showing up (#987) (#988) 2019-03-27 15:52:57 -04:00
FileUploader.jsx load client-side environment variables at runtime 2018-08-24 17:41:23 -04:00
HTTPSModal.jsx fix #429 2017-09-14 14:51:36 -04:00
KeyboardShortcutModal.jsx fixes #785, update node, and everything else that comes along with that (#810) 2019-01-16 17:56:18 -05:00
NewFileForm.jsx Autofocus on Add File menu (#882) 2019-03-12 16:17:27 -04:00
NewFileModal.jsx fixes #668 2018-08-29 15:06:41 -04:00
NewFolderForm.jsx fixes #726 (#728) 2018-10-22 15:41:35 -04:00
NewFolderModal.jsx fixes #726 (#728) 2018-10-22 15:41:35 -04:00
Preferences.jsx Merge branch 'master' into feature/remove-indentation-options 2019-03-26 15:38:58 -04:00
PreviewFrame.jsx Fix ESLint errors (#793) 2019-01-08 17:38:02 -05:00
ShareModal.jsx fixes #802 (#809) 2019-01-16 12:35:34 -05:00
Sidebar.jsx Fix multiple file options showing up (#987) (#988) 2019-03-27 15:52:57 -04:00
SketchList.jsx Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Timer.jsx Migrated from momentjs to date-fns 2019-03-02 15:05:40 +05:30
Toast.jsx Fixes #515 Update React to 16 and other dependencies (#519) 2018-02-07 13:06:07 -05:00
Toolbar.jsx Added length cap to sketch name (#944) 2019-03-20 16:32:01 -04:00