-
- Hello
- World
-
+
+
+ {}} isActive={true}>Hello
+ {}} isActive={false}>World
+
+
diff --git a/platform/ui/src/components/ViewportPane/index.js b/platform/ui/src/components/ViewportPane/index.js
index d15888c80..ecee161e7 100644
--- a/platform/ui/src/components/ViewportPane/index.js
+++ b/platform/ui/src/components/ViewportPane/index.js
@@ -1,2 +1,2 @@
-import ViewportPane from './ViewportPane.jsx';
+import ViewportPane from './ViewportPane';
export default ViewportPane;
diff --git a/platform/ui/src/contextProviders/DragAndDropContext.js b/platform/ui/src/contextProviders/DragAndDropContext.js
new file mode 100644
index 000000000..75bc48351
--- /dev/null
+++ b/platform/ui/src/contextProviders/DragAndDropContext.js
@@ -0,0 +1,25 @@
+import React from 'react';
+import { DndProvider } from "react-dnd";
+import HTML5Backend from 'react-dnd-html5-backend';
+import TouchBackend from 'react-dnd-touch-backend';
+
+const isTouchDevice = typeof window !== `undefined` && !!('ontouchstart' in window || navigator.maxTouchPoints);
+
+/**
+ * Relevant:
+ * https://github.com/react-dnd/react-dnd/issues/186#issuecomment-335429067
+ * https://github.com/react-dnd/react-dnd/issues/186#issuecomment-282789420
+ *
+ * Docs:
+ * http://react-dnd.github.io/react-dnd/docs/api/drag-drop-context
+ */
+export default function DragAndDropContext({children}) {
+ const backend = isTouchDevice ? TouchBackend : HTML5Backend;
+ const opts = isTouchDevice ? { enableMouseEvents: true } : {};
+
+ return (
+