-
Notifications
You must be signed in to change notification settings - Fork 116
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
Conversation
@@ -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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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!
No description provided.