summaryrefslogtreecommitdiffhomepage
path: root/app/components/SelectLocation.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-03-26 14:14:31 +0200
committeranderklander <anderklander@gmail.com>2018-04-11 13:45:41 +0200
commit63fdf393545bacae79d00696ed03a3509f25aa45 (patch)
tree286c1d05af2f1cf8f8c753e4a06099e887d0f0b6 /app/components/SelectLocation.js
parentd0dcf31199cc3efa23645312fb9b5d2eb41a1d56 (diff)
downloadmullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.tar.xz
mullvadvpn-63fdf393545bacae79d00696ed03a3509f25aa45.zip
SelectLocation style and scrollbar-error fix
Diffstat (limited to 'app/components/SelectLocation.js')
-rw-r--r--app/components/SelectLocation.js5
1 files changed, 2 insertions, 3 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');
}
}