summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/components/SelectLocation.js5
-rw-r--r--app/components/SelectLocationStyles.js2
2 files changed, 3 insertions, 4 deletions
diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js
index 2f040763ef..7a547e4e6f 100644
--- a/app/components/SelectLocation.js
+++ b/app/components/SelectLocation.js
@@ -51,11 +51,10 @@ export default class SelectLocation extends React.Component<SelectLocationProps,
// restore scroll to selected cell
const cell = this._selectedCell;
const scrollView = this._scrollView;
- console.log(scrollView);
- console.log(cell);
if(scrollView && cell) {
- scrollView.scrollToElement(cell, 'middle');
+ //TODO: fix this when repairing the auto-scroll in customscrollbars.
+ //scrollView.scrollToElement(cell, 'middle');
}
}
diff --git a/app/components/SelectLocationStyles.js b/app/components/SelectLocationStyles.js
index 52f17a58c1..083a80499e 100644
--- a/app/components/SelectLocationStyles.js
+++ b/app/components/SelectLocationStyles.js
@@ -18,7 +18,7 @@ export default {
},
close: {
marginLeft: 12,
- marginTop: 12,
+ marginTop: 24,
cursor: 'default',
},
close_icon:{