Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Add a FullScreen option to close Fancybox when exit fullscreen mode. #1502

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmtr81
Copy link

@dmtr81 dmtr81 commented Jun 20, 2017

As discussed here #1280 (comment), it would be a nice option to close Fancybox when user exits fullscreen mode, instead of switch to normal mode.

This pull request adds an option 'closeOnExit' that can be used to implement such behavior.

fullScreen: {
    'closeOnExit' : true
},

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant