Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Increase controls timeout and fix controls behavior for mobile VR #235

Merged
merged 2 commits into from
Jul 24, 2017
Merged

Fix: Increase controls timeout and fix controls behavior for mobile VR #235

merged 2 commits into from
Jul 24, 2017

Conversation

jeremypress
Copy link
Contributor

No description provided.

@@ -6,7 +6,7 @@ const SHOW_PREVIEW_CONTROLS_CLASS = 'box-show-preview-controls';
const CONTROLS_BUTTON_CLASS = 'bp-controls-btn';
const CONTROLS_PAGE_NUM_INPUT_CLASS = 'bp-doc-page-num-input';
const CONTROLS_PAGE_NUM_WRAPPER_CLASS = 'bp-doc-page-num-wrapper';
const CONTROLS_AUTO_HIDE_TIMEOUT_IN_MILLIS = 1500;
const CONTROLS_AUTO_HIDE_TIMEOUT_IN_MILLIS = 2000;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As requested by Zach

/* stylelint-disable declaration-no-important */
opacity: 1 !important;
/* stylelint-enable declaration-no-important */
z-index: 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JustinHoldstock any issues with using z-index: 1? Moving this block above the vr-enabled override fixes the first issue.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this should be gouda!

/* stylelint-disable declaration-no-important */
opacity: 1 !important;
/* stylelint-enable declaration-no-important */
z-index: 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK this should be gouda!

@jeremypress jeremypress merged commit 1df8b55 into box:master Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants