aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2019-11-16 14:34:33 -0500
committerGitHub <noreply@github.com>2019-11-16 14:34:33 -0500
commit2231fc61a0a667c207ec3ca7156f7545cf909d17 (patch)
treec3ef95f57ff84c847aedd0125173b6c58cbeb239 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
parent22d1e65236bae11c508d5c34ebcbddd1a552bfd8 (diff)
parent68c9c230b3c98ec70adaa1dacb66215f09d2c1f6 (diff)
Merge pull request #302 from browngraphicslab/interaction_stanley
Interaction Improvements
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
index bb1a12f88..db36c4391 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
@@ -17,6 +17,7 @@
width: 100%;
height: 100%;
transform-origin: left top;
+ touch-action: none;
}
.collectionFreeform-customText {
@@ -25,6 +26,9 @@
}
.collectionfreeformview-container {
+ // touch action none means that the browser will handle none of the touch actions. this allows us to implement our own actions.
+ touch-action: none;
+
.collectionfreeformview>.jsx-parser {
position: inherit;
height: 100%;