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

don't toggle preview if sideBySideFullscreen is false #286

Merged
merged 1 commit into from Dec 31, 2020

Conversation

smundro
Copy link

@smundro smundro commented Dec 30, 2020

Toggling fullscreen causes the enabled side-by-side preview to be hidden when sideBySideFullscreen === false. This change causes the editor to ignore the preview state when the default "side-by-side requires fullscreen" option is disabled.

(Long story: default behavior was to trigger full screen when enabling side-by-side preview, an option was added to allow for side-by-side preview without full screen, but didn't account for existing side-by-side handling when toggling fullscreen, which was [apparently] intended to ensure it was toggled off when returning from fullscreen.)

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.

None yet

2 participants